django-cms-demo

所属分类:建站系统
开发工具:Python
文件大小:8KB
下载次数:0
上传日期:2017-04-11 08:50:27
上 传 者sh-1993
说明:  django CMS演示,用于开发、研究和娱乐
(django CMS demo for development, research and fun)

文件列表:
.travis.yml (477, 2017-04-11)
Dockerfile (246, 2017-04-11)
LICENSE.txt (1475, 2017-04-11)
data.json (609, 2017-04-11)
manage.py (801, 2017-04-11)
requirements.txt (1165, 2017-04-11)
src (0, 2017-04-11)
src\__init__.py (0, 2017-04-11)
src\settings.py (6340, 2017-04-11)
src\urls.py (926, 2017-04-11)
src\wsgi.py (382, 2017-04-11)

############### 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 env`` to create a virtual environment - run ``source env/bin/activate`` to start the virtual environment - run ``pip install -r requirements.txt`` to install all requirements - run ``python manage.py migrate`` to run database migrations - run ``python manage.py loaddata data.json`` to load the admin user, you can also create your own by running ``python manage.py createsuperuser`` instead - run ``python manage.py runserver 0.0.0.0:8000`` to 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-demo`` to 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 `_ * `Bootstrap 3 `_ * `Webpack `_ * `Explorer Theme `_ 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

近期下载者

相关文件


收藏者