mirror of
https://github.com/StefBuwalda/WebTech.git
synced 2025-10-30 19:29:58 +00:00
Update README.md
This commit is contained in:
18
README.md
18
README.md
@@ -1,27 +1,27 @@
|
|||||||
### How to install
|
# How to install
|
||||||
|
|
||||||
## Setting up your virtual environment
|
## Setting up your virtual environment
|
||||||
|
|
||||||
# Creating virtual environment
|
### Creating virtual environment
|
||||||
python -m venv venv
|
python -m venv venv
|
||||||
|
|
||||||
# Activating environment for package installation (windows)
|
### Activating environment for package installation (windows)
|
||||||
.\venv\Scripts\activate.bat
|
.\venv\Scripts\activate.bat
|
||||||
|
|
||||||
# Installing required packages
|
### Installing required packages
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
## Setting up the database
|
## Setting up the database
|
||||||
|
|
||||||
# Initialize database
|
### Initialize database
|
||||||
flask --app app.py db init
|
flask --app app.py db init
|
||||||
|
|
||||||
# Migrate database
|
### Migrate database
|
||||||
flask --app app.py db migrate
|
flask --app app.py db migrate
|
||||||
|
|
||||||
# upgrade database
|
### upgrade database
|
||||||
flask --app app.py db upgrade
|
flask --app app.py db upgrade
|
||||||
|
|
||||||
### Development commands
|
# Development commands
|
||||||
# Updating requirements.txt
|
#### Updating requirements.txt
|
||||||
pip freeze > requirements.txt
|
pip freeze > requirements.txt
|
||||||
Reference in New Issue
Block a user