Add virtual env info and update app launch command
This commit is contained in:
parent
a2f69005ed
commit
56a0613505
@ -7,11 +7,16 @@
|
|||||||
|
|
||||||
./script/setup
|
./script/setup
|
||||||
|
|
||||||
|
The setup script will create a new Python virtual environment for the application to use. All of the scripts will activate this virutal envirnment automatically, but you can also manually activate it like this:
|
||||||
|
source .venv/bin/activate
|
||||||
|
|
||||||
|
If you want to automatically load the virtual environment whenever you enter the project directory, take a look at [direnv](https://direnv.net/)
|
||||||
|
|
||||||
## Running (development)
|
## Running (development)
|
||||||
|
|
||||||
To start the app and watch for changes:
|
To start the app and watch for changes:
|
||||||
|
|
||||||
DEBUG=1 ./app.py
|
DEBUG=1 ./script/server
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user