Name | Size | Modified | Last Commit | Author |
---|---|---|---|---|
boards | ||||
development | ||||
docs | ||||
swineboard | ||||
tools | ||||
.hgignore | Loading ... | |||
.hgtags | Loading ... | |||
changelog.markdown | Loading ... | |||
gpl-3.0.txt | Loading ... | |||
manage.py | Loading ... | |||
readme.markdown | Loading ... | |||
requirements.txt | Loading ... | |||
todo.txt | Loading ... |
INTRO
This project aims to create centralized forum-like discussion platform with
anonymity in mind.
Main repository: https://bitbucket.org/neko259/swineboard/
Site: http://swineboard.me/
THIS PROJECT IS DISCONTINUED
Due to python/django limitations and performance considerations the board was rewritten in Java. See https://bitbucket.org/neko259/newswineboard/
Some features are not implemented yet in the java version and some were deliberately removed. If you need them, feel free to use the old board.
Themes from the java project can be migrated to this one at the moment this document is being updated.
INSTALLATION
- Download application and move inside it:
hg clone https://bitbucket.org/neko259/swineboard
cd swineboard
- Install all application dependencies:
Some minimal system-wide depenencies:
- python3
- pip/pip3
- jpeg
- zlib
Python dependencies:
pip3 install -r requirements.txt
You can use virtualenv to speed up the process or avoid conflicts.
- Setup a database in
swineboard/settings.py
. You can also change other settings like search engine.
Depending on configured database and search engine, you need to install corresponding dependencies manually.
Default database is sqlite. If you want to change the database backend, refer to the django documentation for the correct settings. Please note that sqlite accepts only one connection at a time, so you won't be able to run 2 servers or a server and a sync at the same time.
- Setup SECRET_KEY to a secret value in `swineboard/settings.py
- Run
./manage.py migrate
to apply all migrations - Apply config changes to
boards/config/settings.ini
. You can see the default settings inboards/config/default_config.ini
(do not delete or overwrite it). - If you want to use decetral engine, run
./manage.py generate_keypair
to generate keys
RUNNING
You can run the server using django default embedded webserver by running:
./manage.py runserver <address>:<port>
See django-admin command help for details.
Also consider using wsgi or fcgi interfaces on production servers.
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.
UPGRADE
- Backup your project data.
- Copy the project contents over the old project directory
- Run migrations by
./manage.py migrate
You can also just clone the mercurial project and pull it to update
CONCLUSION
Enjoy our software and thank you!