1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 20:10:00 +00:00

Merge pull request #112 from mc10/patch-1

README: Fix typos
This commit is contained in:
Mart 2017-05-19 00:26:23 -04:00 committed by GitHub
commit 6406825790

View file

@ -18,7 +18,7 @@
- `pyenv activate nyaa` - `pyenv activate nyaa`
- Install dependencies with `pip install -r requirements.txt` - Install dependencies with `pip install -r requirements.txt`
- Copy `config.example.py` into `config.py` - Copy `config.example.py` into `config.py`
- Change TALBE_PREFIX to `nyaa_` or `sukebei_` depending on the site - Change TABLE_PREFIX to `nyaa_` or `sukebei_` depending on the site
## Setting up MySQL/MariaDB database for advanced functionality ## Setting up MySQL/MariaDB database for advanced functionality
- Enable `USE_MYSQL` flag in config.py - Enable `USE_MYSQL` flag in config.py
@ -64,7 +64,7 @@
## Setting up ES ## Setting up ES
- Run `./create_es.sh` and this creates two indicies: `nyaa` and `sukebei` - Run `./create_es.sh` and this creates two indicies: `nyaa` and `sukebei`
- The output should show `akncolwedged: true` twice - The output should show `acknowledged: true` twice
- The safest bet is to disable the webapp here to ensure there's no database writes - The safest bet is to disable the webapp here to ensure there's no database writes
- Run `python import_to_es.py` with `SITE_FLAVOR` set to `nyaa` - Run `python import_to_es.py` with `SITE_FLAVOR` set to `nyaa`
- Run `python import_to_es.py` with `SITE_FLAVOR` set to `sukebei` - Run `python import_to_es.py` with `SITE_FLAVOR` set to `sukebei`