Add explanation for venv

This commit is contained in:
Tobias Eidelpes 2021-03-24 16:48:57 +01:00
parent 38086513df
commit 9e18a4fdf7

View File

@ -1,19 +1,25 @@
# Wep Application Engineering & Content Management Django Backend
## Tips
* use Jetbrains Pycharm IDE
* create and use a virtual environment
* Use Jetbrains Pycharm IDE
* Create and use a virtual environment with
```bash
$ python -m venv venv
$ source venv/bin/activate
```
## 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 migrate
$ python manage.py createsuperuser
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py createsuperuser
$ python mangge.py runserver
$ python manage.py runserver
```
## ERROR handling
<em>Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools"</em>