Built using Wagtail CMS.
With PostgreSQL running (and configured to allow you to connect as the 'postgres' user - if not, you'll need to adjust the createdb
line and the database settings in openstax/settings/base.py accordingly), run the following commands:
git clone https://github.com/Connexions/openstax-cms.git
cd openstax-cms
pip install -r requirements/dev.txt
createdb -U postgres openstax
./manage.py migrate
./manage.py createsuperuser
./manage.py runserver
Run with ./manage.py test
SQLite is supported as an alternative to PostgreSQL - update the DATABASES
setting
in openstax/settings/base.py to use 'django.db.backends.sqlite3'
and set NAME
to be the full path of your database file, as you would with a regular Django project.