Luke Murphy
4 years ago
7 changed files with 33 additions and 1 deletions
@ -0,0 +1,3 @@ |
|||
/.venv/ |
|||
/__pycache__/ |
|||
*.pyc |
@ -0,0 +1,18 @@ |
|||
# varia-library-website |
|||
|
|||
> Work In Progress |
|||
|
|||
## Hacking |
|||
|
|||
``` |
|||
$ python3 -m venv .venv && source .venv/bin/activate |
|||
$ FLASK_APP=library |
|||
``` |
|||
|
|||
Or run `make setup`. |
|||
|
|||
``` |
|||
$ FLASK_APP=library.page flask run |
|||
``` |
|||
|
|||
Or run `make`. |
Binary file not shown.
@ -0,0 +1,10 @@ |
|||
default: run |
|||
|
|||
setup: |
|||
@python3 -m venv .venv && \
|
|||
.venv/bin/pip install -r requirements.txt |
|||
|
|||
run: |
|||
@FLASK_APP=library.page .venv/bin/flask run |
|||
|
|||
.PHONY: setup run |
@ -0,0 +1 @@ |
|||
flask |
Loading…
Reference in new issue