django CMS Demo is no traditional "Demo" project for presentational usage. It is aimed for developers who want to test the latest django CMS and addon versions, living on the edge. This means, that the project setup can be unstable from time to time.
Please only use this repository for debugging, development and research purposes. This codebase is not meant to be used in production.
- Django 1.10
- django CMS develop branch
- run virtualenv envto create a virtual environment
- run source env/bin/activateto start the virtual environment
- run pip install -r requirements.txtto install all requirements
- run python manage.py migrateto run database migrations
- run python manage.py loaddata data.jsonto load the admin user, you can also create your own by runningpython manage.py createsuperuserinstead
- run python manage.py runserver 0.0.0.0:8000to start the local development server
- visit http://localhost:8000
- run docker build -t divio/django-cms-demo .to build the image
- run docker run -it -p 8000:8000 divio/django-cms-demoto start the container
- visit http://localhost:8000(depending on your docker configuration)
You can login to the cms by appending /?edit to the url. The credentials are:
- Username: admin
- Password: admin
This project does not ship with any HTML or static files. You can choose from several Boilerplates to get started:
Here is an example on how to get started using the Explorer Theme:
- run curl -LOk https://github.com/divio/django-cms-explorer/archive/master.tar.gz
- run tar -xzf master.tar.gz
- run mv -n django-cms-explorer-master/{*,.*} .
- run rm -rf django-cms-explorer-master/ ./master.tar.gz