27 lines
608 B
Markdown
27 lines
608 B
Markdown
# Wep Application Engineering & Content Management Django Backend
|
|
|
|
## Tips
|
|
* Use Jetbrains Pycharm IDE
|
|
* Create and use a virtual environment with
|
|
```bash
|
|
$ python -m venv venv
|
|
$ source venv/bin/activate
|
|
```
|
|
|
|
## Setup
|
|
```bash
|
|
$ cd ./app_be
|
|
|
|
$ pip install -r requirements.txt
|
|
|
|
$ python manage.py makemigrations
|
|
$ python manage.py migrate
|
|
$ python manage.py createsuperuser
|
|
|
|
$ python manage.py runserver
|
|
```
|
|
|
|
## ERROR handling
|
|
<em>Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools"</em>
|
|
<br>Install missing deps https://visualstudio.microsoft.com/visual-cpp-build-tools/
|