The main Inboxen repository (clone of Github - for now). Please post all issues on the Github repository https://github.com/Inboxen/Inboxen https://inboxen.org

Matt Molyneaux 1f730f9185 Clean data from attachments to make it valid HTTP 9 years ago
blog 2606dc145d Fix various issues with blog 9 years ago
extra 6a47ce7d38 Remove Postfix policy thingy 9 years ago
inboxen 51cef6d5ce Add a "receiving" QSM to Domain 9 years ago
queue 76b5b3110e Stats: Active --> With Inboxes 9 years ago
router 9ebe154071 Wow, how did I even miss this? 9 years ago
termsofservice a5652849ba More PEP8 goodness 9 years ago
tickets ebc4772031 Factory fixures for "tickets" app 9 years ago
website 1f730f9185 Clean data from attachments to make it valid HTTP 9 years ago
.coveragerc 822a08cc21 Coveralls support 9 years ago
.gitignore b450f7711e Ignore sqlite library 10 years ago
.travis.yml 822a08cc21 Coveralls support 9 years ago
LICENSE 7b35a6b5d8 Made sure every repo has a copy of the AGPLv3 11 years ago
README.md 7b30141094 Add notes on developing. 9 years ago
adminsettings.py b781bd1000 ALLOWED_HOSTS might be a list 9 years ago
manage.py 67ce54f965 Moves settings to this directory and adds setup file 11 years ago
requirements-dev.txt 7b30141094 Add notes on developing. 9 years ago
requirements.txt 502fd1c96c Install older version of python-daemon 9 years ago
settings.py 71c6dd5627 Add locale middleware. 9 years ago
tox.ini 9b8b4f6489 Added default flake8 config 9 years ago

README.md

Inboxen

Build Status

This is the complete system with everything you need to set up Inboxen. Please use the "deploy" branch if you wish to use this in production - "master" sometimes breaks!

Join us in our IRC channel! We're in the #inboxen channel on MegNet

See also: https://etherpad.mozilla.org/inboxen

Developing

Set yourself up with a virtual environment and run the following:

git clone https://github.com/Inboxen/Inboxen.git
cd Inboxen
pip install -r requirements-dev.txt

When you've made your changes, remember to run flake8 against Python files you've changed and run unit tests. To run the tests, do the following:

DB=sqlite python manage.py test --settings=inboxen.tests.settings

Deploying

Set yourself up with a virtual environment and run the following:

git clone https://github.com/Inboxen/Inboxen.git
cd Inboxen
# optional step
#git checkout deploy
pip install -r requirements.txt

After this has completed, see the next section on minimum configuration. Also, settings.py is well commented and explains what various configuration options do.

settings.ini

At the very least, this file should contain the following:

[general]
secret_key = some_random_string

Where some_random_string is a long (at least a length of 50) string, containing random characters.

Webserver

The WSGI script can be found at website/wsgi.py

If your WSGI daemon supports it (e.g. mod_wsgi), we provide an "import script" to improve performance for the first request after a reload. It can be found at website/importscript.py

There is also website/admin-wsgi.py - this enables the admin interface on /admin. It is highly recommended that you protect from the outside world. Solutions such as a VPN are probably the easiest for your staff to use.

Collecting Static Files

Remember to run python manage.py collectstatic!