furmeet_events_htmltable2ics/backend_code/Makefile
Adler Neves 8a1102d99b
All checks were successful
continuous-integration/drone Build is passing
Initial commit
2022-04-24 12:09:38 -03:00

22 lines
584 B
Makefile

help:
@echo "help\t- Print this message"
@echo "serve\t- Launches web server"
@echo "depends\t- Downloads all dependencies"
virtual_env:
virtualenv -p python3 virtual_env
make depends
depends: virtual_env
. virtual_env/bin/activate; python -m pip install -r requirements.txt --upgrade
serve: virtual_env
. virtual_env/bin/activate; gunicorn --bind 127.0.0.1:56413 app:app --preload --workers 2 --threads 3
all: virtual_env
@echo "Nothing to do here"
devserver: virtual_env
make all
. virtual_env/bin/activate; FLASK_ENV=development flask run --host=0.0.0.0 --port=8088