readme.markdown
50 lines
| 1.5 KiB
| text/x-markdown
|
MarkdownLexer
neko259
|
r433 | # INTRO # | ||
This project aims to create centralized forum-like discussion platform with | ||||
anonymity in mind. | ||||
Main repository: https://bitbucket.org/neko259/neboard/ | ||||
neko259
|
r434 | |||
neko259
|
r433 | Site: http://neboard.me/ | ||
# INSTALLATION # | ||||
1. Install all dependencies over pip or system-wide | ||||
neko259
|
r1523 | |||
You can use virtualenv to speed up the process. | ||||
Use pip3 install -r requirements.txt | ||||
Dependencies for the database and search engine need to be installed manually | ||||
when you choose which one to use. | ||||
neko259
|
r453 | 2. Setup a database in `neboard/settings.py` | ||
neko259
|
r1523 | 3. Setup SECRET_KEY to a secret value in `neboard/settings.py` | ||
4. Run `./manage.py migrate` to apply all migrations | ||||
5. Apply config changes to `boards/config/config.ini`. You can see the default settings in `boards/config/default_config.ini` | ||||
6. If you want to use decetral engine, run `./manage.py generate_keypair` to generate keys | ||||
neko259
|
r433 | |||
# RUNNING # | ||||
neko259
|
r1523 | You can run the server using django default embedded webserver by running: | ||
neko259
|
r434 | |||
neko259
|
r433 | ./manage.py runserver <address>:<port> | ||
neko259
|
r434 | |||
neko259
|
r1523 | See django-admin command help for details. | ||
neko259
|
r434 | |||
neko259
|
r433 | Also consider using wsgi or fcgi interfaces on production servers. | ||
neko259
|
r1523 | When running for the first time, you need to setup at least one section tag. | ||
Go to the admin page and manually create one tag with "required" property set. | ||||
neko259
|
r453 | # UPGRADE # | ||
1. Backup your project data. | ||||
neko259
|
r1155 | 2. Copy the project contents over the old project directory | ||
3. Run migrations by `./manage.py migrate` | ||||
neko259
|
r453 | |||
You can also just clone the mercurial project and pull it to update | ||||
neko259
|
r433 | # CONCLUSION # | ||
slemonide
|
r1208 | Enjoy our software and thank you! | ||