You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
657 B
41 lines
657 B
### Setup
|
|
|
|
Go to a folder and install a virtualenv:
|
|
|
|
```
|
|
cd path/to/venv/folder && \
|
|
virtualenv . --python python3.5 && \
|
|
source bin/activate && \
|
|
pip install --requirement path/to/requirements.txt
|
|
```
|
|
|
|
```
|
|
python manage.py makemigrations projects specializations users && \
|
|
python manage.py migrate
|
|
```
|
|
|
|
```
|
|
python manage.py runserver
|
|
```
|
|
|
|
```
|
|
python manage.py shell_plus --use-pythonrc
|
|
```
|
|
|
|
----------------------------------------
|
|
|
|
Data generation order:
|
|
|
|
1. superuser
|
|
2. specializations
|
|
3. locations
|
|
4. perm. groups
|
|
5. build. classif-s
|
|
6. constr. types
|
|
7. users
|
|
8. teams
|
|
9. realties
|
|
10. projects
|
|
11. portfolios
|
|
|
|
----------------------------------------
|
|
|