Add allow-origin header

This commit is contained in:
Jack Stdin
2016-02-15 02:03:59 +03:00
parent a955916690
commit 56f44e324a
2 changed files with 8 additions and 1 deletions

View File

@@ -129,7 +129,7 @@ _Внимание_! Только Python 2.7, только PostgreSQL, тольк
## Настройка
1. Создадим базу:
`sudo -u phias python manage.py -b create -s /tmp/fias_xml.rar`
`sudo -u phias python manage.py -b create -s /tmp/fias_xml.rar`
2. Проиндексируем Sphinx
`sudo python manage.py -c -i indexer -o /usr/local/sphinx/etc/sphinx.conf`
Затем запустим searchd