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.
 
 
 
 
 
 
Mukhtar 0262becda0 Merge branch 'master' into mukhtar 10 years ago
api #ARC-14 10 years ago
archilance #ARC-15 Fixes bugs 10 years ago
assets main.css edited 10 years ago
chat #ARC-25 Fixes bugs 10 years ago
common #ARC-15 Fixes bugs 10 years ago
projects Merge branch 'master' into mukhtar 10 years ago
ratings #ARC-6 Fixes bugs 10 years ago
requirements #ARC-14 10 years ago
reviews #ARC-27 Add serializers 10 years ago
specializations #ARC-25 Fixes bugs 10 years ago
templates #ARC-25 Fixes bugs 10 years ago
users #ARC-15 Fixes bugs 10 years ago
wallets #ARC-26; Fixes 10 years ago
work_sell #ARC-8 Fixes bugs 10 years ago
.gitignore #ARC-4 Add projects_tags and specialization tags 10 years ago
README.md #ARC-35 #ARC-14 10 years ago
manage.py edit settings 10 years ago
update.sh deploy script 10 years ago

README.md

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

Enable solr-thumbnail:

python manage.py makemigrations thumbnail
python manage.py migrate
python manage.py runserver
python manage.py shell_plus --use-pythonrc

Generate data via:

python manage.py generate_* commands

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

or here is right commands in one str:

python manage.py generate_superuser && 
python manage.py generate_specializations && 
python manage.py generate_locations && 
python manage.py generate_perm_groups &&
python manage.py generate_build_classifs && 
python manage.py generate_constr_types &&
python manage.py generate_users && 
python manage.py generate_teams && 
python manage.py generate_realties && 
python manage.py generate_projects && 
python manage.py generate_portfolios && 
python manage.py generate_reviews