make_post_sell/Makefile
Russell Ballestrini 2c78ba4317 shop sales pages
modified:   Makefile
	modified:   development.ini
	modified:   make_post_sell/models/invoice.py
	modified:   make_post_sell/models/shop.py
	modified:   make_post_sell/routes.py
	modified:   make_post_sell/static/css/common.css
	modified:   make_post_sell/templates/actions_view.j2
	new file:   make_post_sell/templates/sales.j2
	new file:   make_post_sell/templates/sales_details.j2
	modified:   make_post_sell/views/cart.py
	new file:   make_post_sell/views/sales.py
2024-12-11 12:03:54 -05:00

36 lines
894 B
Makefile

env:
python3 -m venv env
. env/bin/activate
env/bin/pip install --upgrade pip
env/bin/pip install --upgrade -r requirements.py3.txt
dev: env
env/bin/pip install --upgrade -r requirements-dev.txt
env/bin/pip install --upgrade -r requirements-test.txt
env/bin/pip install --editable .
cp -rp env env.vanilla
prod: env
env/bin/pip install --upgrade -r requirements-prod.txt
env/bin/pip install .
cp -rp env env.vanilla
init_db: env
env/bin/initialize_make_post_sell_db ${config}
clean:
rm -rf env
rm -rf env.vanilla
test: dev
#env/bin/py.test --lf
env/bin/py.test
serve: dev
# In the first shell, run a copy of make_post_sell using:
env/bin/pserve development.ini --reload
smtp: env
# In the third shell, run a "mock" SMTP server to catch log in emails:
#sudo env/bin/python -m smtpd -n -c DebuggingServer localhost:25
sudo env/bin/python -m aiosmtpd -l 127.0.0.1:8025