Update Development setup (Windows)
@@ -1,6 +1,8 @@
|
|||||||
# Quick n dirty
|
# Quick n dirty
|
||||||
|
|
||||||
- after cloning, run `py -3 -m venv .venv` in the root directory and then `.venv\Scripts\activate`
|
- after cloning, run `py -3 -m venv .venv` in the root directory
|
||||||
|
- and then `.venv\Scripts\activate` to activate the virtual environment
|
||||||
|
- on windows you might need to do `Set-ExecutionPolicy Unrestricted -Force` first and then activate the virtual environment
|
||||||
- then `pip install Flask` inside the virtual env
|
- then `pip install Flask` inside the virtual env
|
||||||
- you might also need to init a database, so use `flask --app myriad init-db`
|
- you might also need to init a database, so use `flask --app myriad init-db`
|
||||||
- to start the site use `flask --app myriad run --debug`
|
- to start the site use `flask --app myriad run --debug`
|
||||||
|
|||||||
Reference in New Issue
Block a user