Add explanation for venv
This commit is contained in:
parent
38086513df
commit
9e18a4fdf7
@ -1,19 +1,25 @@
|
|||||||
# Wep Application Engineering & Content Management Django Backend
|
# Wep Application Engineering & Content Management Django Backend
|
||||||
|
|
||||||
## Tips
|
## Tips
|
||||||
* use Jetbrains Pycharm IDE
|
* Use Jetbrains Pycharm IDE
|
||||||
* create and use a virtual environment
|
* Create and use a virtual environment with
|
||||||
|
```bash
|
||||||
|
$ python -m venv venv
|
||||||
|
$ source venv/bin/activate
|
||||||
|
```
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
$ cd ./app_be
|
```bash
|
||||||
|
$ cd ./app_be
|
||||||
|
|
||||||
$ pip install -r requirements.txt
|
$ pip install -r requirements.txt
|
||||||
|
|
||||||
$ python manage.py makemigrations
|
$ python manage.py makemigrations
|
||||||
$ python manage.py migrate
|
$ python manage.py migrate
|
||||||
$ python manage.py createsuperuser
|
$ python manage.py createsuperuser
|
||||||
|
|
||||||
$ python mangge.py runserver
|
$ python manage.py runserver
|
||||||
|
```
|
||||||
|
|
||||||
## ERROR handling
|
## ERROR handling
|
||||||
<em>Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools"</em>
|
<em>Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools"</em>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user