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.
|
|
9 years ago | |
|---|---|---|
| api | 9 years ago | |
| archilance | 9 years ago | |
| assets | 9 years ago | |
| chat | 9 years ago | |
| cms_pages | 10 years ago | |
| common | 9 years ago | |
| context_processors | 9 years ago | |
| media/_sample_files | 10 years ago | |
| projects | 9 years ago | |
| ratings | 9 years ago | |
| requirements | 9 years ago | |
| reviews | 9 years ago | |
| robots | 9 years ago | |
| specializations | 9 years ago | |
| ssl/nic.ru | 9 years ago | |
| templates | 9 years ago | |
| users | 9 years ago | |
| wallets | 9 years ago | |
| work_sell | 9 years ago | |
| .babelrc | 9 years ago | |
| .gitignore | 9 years ago | |
| BingSiteAuth.xml | 9 years ago | |
| README.md | 9 years ago | |
| cf25948635ee.html | 9 years ago | |
| google5a3cd420b0160075.html | 9 years ago | |
| manage.py | 9 years ago | |
| newrelic.ini | 9 years ago | |
| package.json | 9 years ago | |
| update.sh | 10 years ago | |
| webpack.config.js | 9 years ago | |
| wmail_e27d8c2662ff63f11978e0e73616f2fc.html | 9 years ago | |
| yandex_58d23691715ef942.html | 9 years ago | |
| yvnu26bm.htm | 9 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:
- Superuser
- Specializations
- Locations
- Perm. groups
- Build. classif-s
- Constr. types
- Users
- Teams
- Realties
- Projects
- Portfolios
- 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_work_sells &&
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>
<div
data-tooltip
data-placement="{% tooltip_placement pk=123 %}"
title="{% tooltip pk=123 %}">
</div>
Local smtp debug server
sudo python3 -m smtpd -n -c DebuggingServer localhost:25
Local char server
python3 -m tornado.autoreload chat/chat.py