django-cms-demo
django-cms-demo copied to clipboard
django CMS demo for development, research and fun
############### django CMS demo ###############
|build|
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
============ Installation
Virtualenv
- 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
Docker
- 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)
Login
You can login to the cms by appending /?edit to the url. The credentials are:
- Username: admin
- Password: admin
Themes
This project does not ship with any HTML or static files. You can choose from several Boilerplates to get started:
HTML 5 <https://github.com/divio/djangocms-boilerplate-html5>_Bootstrap 3 <https://github.com/divio/djangocms-boilerplate-bootstrap3>_Webpack <https://github.com/divio/djangocms-boilerplate-webpack>_Explorer Theme <https://github.com/divio/django-cms-explorer>_
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
.. |build| image:: https://travis-ci.org/divio/django-cms-demo.svg?branch=master :target: https://travis-ci.org/divio/django-cms-demo