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 | |
|---|---|---|
| accounts | 10 years ago | |
| article | 10 years ago | |
| city | 10 years ago | |
| company | 10 years ago | |
| conference | 9 years ago | |
| core | 10 years ago | |
| country | 10 years ago | |
| directories | 10 years ago | |
| django_messages | 10 years ago | |
| docs | 10 years ago | |
| emencia | 9 years ago | |
| events | 10 years ago | |
| expobanner | 9 years ago | |
| exposition | 9 years ago | |
| file | 10 years ago | |
| functions | 9 years ago | |
| import_xls | 10 years ago | |
| meta | 10 years ago | |
| news | 10 years ago | |
| note | 11 years ago | |
| organiser | 10 years ago | |
| password_reset | 10 years ago | |
| photologue | 10 years ago | |
| photoreport | 10 years ago | |
| place_conference | 10 years ago | |
| place_exposition | 10 years ago | |
| proj | 9 years ago | |
| redirects | 10 years ago | |
| registration | 10 years ago | |
| review | 10 years ago | |
| seminar | 10 years ago | |
| service | 10 years ago | |
| settings | 9 years ago | |
| specialist_catalog | 10 years ago | |
| static | 9 years ago | |
| stats_collector | 10 years ago | |
| support | 9 years ago | |
| templates | 9 years ago | |
| theme | 10 years ago | |
| translator | 10 years ago | |
| webinar | 10 years ago | |
| wizard | 10 years ago | |
| .gitignore | 9 years ago | |
| .htpasswd | 12 years ago | |
| Makefile | 10 years ago | |
| README.md | 10 years ago | |
| fabfile.py | 9 years ago | |
| gulpfile.js | 10 years ago | |
| jpegsrc.v8c.tar.gz | 12 years ago | |
| manage.py | 11 years ago | |
| package.json | 10 years ago | |
| project.wsgi | 11 years ago | |
| requirements.txt | 10 years ago | |
| schema.xml | 10 years ago | |
| schema_22.08.2016.xml | 10 years ago | |
| schema_29.08.2016.xml | 10 years ago | |
| schema_new.xml | 10 years ago | |
README.md
Expomap project #mysql sudo apt-get install mysql-server mysql-client libmysqlclient-dev mysql-workbench
#memcached sudo apt-get install libmemcached-dev
south
pip install south -U
proj/local.py EXAMPLE
# -*- coding: utf-8 -*-
from proj.settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'expomap',
'USER': 'root',
'PASSWORD': '***',
'HOST': '',
'PORT': '',
}
}
CACHES = {
"default": {
"BACKEND": "redis_cache.cache.RedisCache",
"LOCATION": "/var/run/redis/redis.sock",
"OPTIONS": {
"CLIENT_CLASS": "redis_cache.client.DefaultClient",
},
}
}
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
INSTALLED_APPS += ('south',)
python manage.py syncdb --settins=proj.local
python manage.py migrate settings 0001 --fake --settins=proj.local
python manage.py migrate settings --settins=proj.local
python manage.py migrate accounts 0001 --fake
python manage.py migrate accounts
python manage.py migrate company 0001 --fake
python manage.py migrate company
solr setup
curl -LO https://archive.apache.org/dist/lucene/solr/4.10.4/solr-4.10.4.tgz
tar -xzf solr-4.10.4.tgz
sudo mv solr-4.10.4 /opt/solr-4.10.4
sudo ln -s /opt/solr-4.10.4 /opt/solr
sudo ln -s /opt/solr-4.10.4/example/solr /etc/solr
sudo cp schema.xml /opt/solr-4.10.4/example/solr/collection1/conf
sudo useradd -d /opt/solr -s /sbin/false solr
sudo chown solr:solr -R /opt/solr
cd /opt/solr-4.10.4
bin/solr start -p 8983
python manage.py migrate expobanner 0001 --fake
python manage.py migrate expobanner