Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.01 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.01 KB

Django CMS 4 project

项目体验地址: https://website-8uhf.onrender.com/

数据不保存

A Django template for a typical django CMS installation with no special bells or whistles. It is supposed as a starting point for new projects.

If you prefer a different set of template settings, feel free to create your own templates by cloning this repo.

To install django CMS 4 by hand type the following commands:

  1. Create virtual environment and activate it
    python3 -m venv .venv
    source .venv/bin/activate
    
  2. Install Django, django CMS and other required packages
    pip install django-cms
    
  3. Create project <<project_name>> using this template
    djangocms <<project_name>>
    cd <<project_name>>
    
  4. Run testserver
    ./manage.py runserver
    

Note: If you run into a problem of missing dependencies, please update pip using pip install -U pip before running the djangocms command.

使用docke构建运行

docker-compose up --build