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.
 
 
 
 
 
 
ArturBaybulatov fff2d52a15 #ARC-41 10 years ago
api Merge branch 'master' of http://code.brln.tv/diffusion/ARCH/archilance into artur 10 years ago
archilance #ARC-11 Fixes: section 1 10 years ago
assets #ARC-41 10 years ago
chat #ARC-18 Fix upload documents for customer 10 years ago
cms_pages active urls 10 years ago
common #ARC-41 10 years ago
projects #ARC-41 10 years ago
ratings Merge branch 'master' of http://code.brln.tv/diffusion/ARCH/archilance into mukhtar 10 years ago
requirements reqs 10 years ago
reviews #ARC-18 Add arbitration add 10 years ago
specializations #ARC-25 Fixes bugs 10 years ago
templates various 10 years ago
users #ARC-41 10 years ago
wallets css edited 10 years ago
work_sell #ARC-41 10 years ago
.gitignore #ARC-16 add fixes 10 years ago
README.md #ARC-41 10 years ago
manage.py edit settings 10 years ago
update.sh update fix 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

Run the command at leat once to see specialization ratings:

python manage.py recalculation_spec
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 

Tooltip examples

<div data-tooltip title="{% tooltip pk=123 %}"></div>
<div
    data-tooltip
    data-placement="bottom"
    title="{% tooltip name='Безопасная сделка' %}">
</div>