Menu

Tree [532ef6] default tip /
 History

Read Only access


File Date Author Commit
 boards 2020-02-28 Bohdan Horbeshko Bohdan Horbeshko [532ef6] Logo rebranding
 development 2014-08-26 neko259 neko259 [c295c3] Added test for reflinks. Added management comma...
 docs 2017-09-29 neko259 neko259 [f37023] Use update-time of a post instead of version
 swineboard unknown
 tools 2020-02-16 Bohdan Horbeshko Bohdan Horbeshko [ecf526] Complete denisopopoving
 .hgignore unknown
 .hgtags 2018-06-15 neko259 neko259 [208e1f] Added tag 4.11.0 for changeset 2f9d7bc70eef
 changelog.markdown 2020-02-15 Bohdan Horbeshko Bohdan Horbeshko [5be2d6] Act of denisopopoving the engine
 gpl-3.0.txt 2014-07-08 neko259 neko259 [e38763] Fixed license text
 manage.py 2020-02-15 Bohdan Horbeshko Bohdan Horbeshko [5be2d6] Act of denisopopoving the engine
 readme.markdown 2020-02-27 Bohdan Horbeshko Bohdan Horbeshko [0a1812] Add rhodecode link
 requirements.txt 2020-02-16 Bohdan Horbeshko Bohdan Horbeshko [2db1d1] Clarify the incompatibility with Django >=2.2
 todo.txt 2014-09-09 neko259 neko259 [011dea] Merged with default branch

Read Me

INTRO

This project aims to create centralized forum-like discussion platform with
anonymity in mind.

Main repository: https://sourceforge.net/p/swineboard/code/

Mirror: https://code.rhodecode.com/u/bodqhrohro/swineboard

Site: no known running instances yet

This is a fork of the Django-based version of Neboard engine (replaced with a less functional and more bloated Java-based https://bitbucket.org/neko259/newneboard/ now).

INSTALLATION

  1. Download application and move inside it:

hg clone http://hg.code.sf.net/p/swineboard/code swineboard

cd swineboard

  1. 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.

  1. 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.

  1. Setup SECRET_KEY to a secret value in `swineboard/settings.py
  2. Run ./manage.py migrate to apply all migrations
  3. Apply config changes to boards/config/settings.ini. You can see the default settings in boards/config/default_config.ini(do not delete or overwrite it).
  4. 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

  1. Backup your project data.
  2. Copy the project contents over the old project directory
  3. 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!

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.