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.
42 lines
669 B
42 lines
669 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
|
|
12. Reviews
|
|
|
|
----------------------------------------
|
|
|