##// END OF EJS Templates
Logo rebranding
Logo rebranding

File last commit:

r2149:0a18125a default
r2150:532ef623 tip default
Show More
readme.markdown
71 lines | 2.3 KiB | text/x-markdown | MarkdownLexer
neko259
Fixed readme syntax
r433 # INTRO #
This project aims to create centralized forum-like discussion platform with
anonymity in mind.
Bohdan Horbeshko
Update README with fork information
r2141 Main repository: https://sourceforge.net/p/swineboard/code/
neko259
Fixed readme syntax
r433
Bohdan Horbeshko
Add rhodecode link
r2149 Mirror: https://code.rhodecode.com/u/bodqhrohro/swineboard
Bohdan Horbeshko
Update README with fork information
r2141 Site: no known running instances yet
Павел Ряполов (nektarin)
readme.markdown edited online with Bitbucket
r2135
Bohdan Horbeshko
Update README with fork information
r2141 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).
Павел Ряполов (nektarin)
readme.markdown edited online with Bitbucket
r2135
neko259
Fixed readme syntax
r433 # INSTALLATION #
Xdevelnet
readme.markdown edited online with Bitbucket
r1535 1. Download application and move inside it:
Bohdan Horbeshko
Update README with fork information
r2141 `hg clone http://hg.code.sf.net/p/swineboard/code swineboard`
Xdevelnet
readme.markdown edited online with Bitbucket
r1535
Bohdan Horbeshko
Act of denisopopoving the engine
r2136 `cd swineboard`
neko259
Updated default settings and documents
r1523
Xdevelnet
readme.markdown edited online with Bitbucket
r1535 2. Install all application dependencies:
Some minimal system-wide depenencies:
neko259
Updated default settings and documents
r1523
Xdevelnet
readme.markdown edited online with Bitbucket
r1535 * python3
* pip/pip3
* jpeg
Bohdan Horbyeshko
Pillow now requires zlib too
r2096 * zlib
Xdevelnet
readme.markdown edited online with Bitbucket
r1535
Python dependencies:
`pip3 install -r requirements.txt`
You can use virtualenv to speed up the process or avoid conflicts.
neko259
Updated default settings and documents
r1523
Bohdan Horbeshko
Act of denisopopoving the engine
r2136 3. Setup a database in `swineboard/settings.py`. You can also change other settings like search engine.
Xdevelnet
readme.markdown edited online with Bitbucket
r1535
Depending on configured database and search engine, you need to install corresponding dependencies manually.
neko259
Updated readme
r1836 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.
Xdevelnet
readme.markdown edited online with Bitbucket
r1535
Bohdan Horbeshko
Act of denisopopoving the engine
r2136 4. Setup SECRET_KEY to a secret value in `swineboard/settings.py
Xdevelnet
readme.markdown edited online with Bitbucket
r1535 5. Run `./manage.py migrate` to apply all migrations
neko259
Updated readme with the proper file for settings
r1831 6. 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).
Xdevelnet
readme.markdown edited online with Bitbucket
r1535 7. If you want to use decetral engine, run `./manage.py generate_keypair` to generate keys
neko259
Fixed readme syntax
r433
# RUNNING #
neko259
Updated default settings and documents
r1523 You can run the server using django default embedded webserver by running:
neko259
Another fixes to the readme
r434
neko259
Fixed readme syntax
r433 ./manage.py runserver <address>:<port>
neko259
Another fixes to the readme
r434
neko259
Updated default settings and documents
r1523 See django-admin command help for details.
neko259
Another fixes to the readme
r434
neko259
Fixed readme syntax
r433 Also consider using wsgi or fcgi interfaces on production servers.
neko259
Updated default settings and documents
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
Added upgrade section to the readme file
r453 # UPGRADE #
1. Backup your project data.
neko259
readme.markdown edited online with Bitbucket
r1155 2. Copy the project contents over the old project directory
3. Run migrations by `./manage.py migrate`
neko259
Added upgrade section to the readme file
r453
You can also just clone the mercurial project and pull it to update
neko259
Fixed readme syntax
r433 # CONCLUSION #
neko259
Use simple search engine by default instead of whoosh
r1728 Enjoy our software and thank you!