Build Trix¶
Warning
This guide is under development, and is not ready for production use yet.
See also
What is Trix?¶
Trix is a devilry application that gives students a voluntary “workbench” they can use to keep track of their progress and coverage in a particular course or topic. Read more about Trix.
Build Trix for production deployment¶
Follow the devilry deploy guide. When you have Devilry running successfully, follow the steps below.
Update buildout.cfg for Trix¶
Add the following to your buildout.cfg:
[buildout]
...
eggs +=
trix
trix_simplified
trix_restful
trix_extjshelpers
[devilrydeploy_sources]
trix = git https://github.com/devilry/trix.git
trix_simplified = git https://github.com/devilry/trix_simplified.git
trix_restful = git https://github.com/devilry/trix_restful.git
trix_extjshelpers = git https://github.com/devilry/trix_extjshelpers.git
You should already have a [buildout]-section, so make sure you do not end up with two of them.
Warning
Make sure you use eggs += and NOT eggs =.
After updating the buildout config, your have to run:
$ cd /path/to/direcetory/containing/buildout.cfg/
$ bin/buildout
Update devilry_prod_settings.py for Trix¶
Add the following to your devilry_prod_settings.py:
INSTALLED_APPS += [
'trix',
'trix_extjshelpers',
'trix_restful',
'trix_simplified'
]
Warning
Make sure you use INSTALLED_APPS += and NOT INSTALLED_APPS =.
Add custom URLs for Trix¶
Follow the Custom root urls-guide, and add the following URL for Trix:
url(r'^trix/', include('trix.urls')),
Restart supervisord¶
As explained in Build Devilry.