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

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!