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,10 +1,15 @@
# 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
```bash
$ cd ./app_be $ cd ./app_be
$ pip install -r requirements.txt $ pip install -r requirements.txt
@ -13,7 +18,8 @@
$ 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>