c3fffa8afe
- update dependency upon www/py-django-sekizai (at least 0.6.1 is needed) - fix directories at pkg-message - use @dirrm (not @dirrmtry) for the port's own directories - don't try to use @dirrmtry to other ports directories while here: - use CHEESESHOP shortcut - remove unnecessary MASTER_SITE_SUBDIR - strict python version to 2.x only PR: 169599 Submitted by: bsam Approved by: maintainer timeout (6 weeks)
23 lines
825 B
Text
23 lines
825 B
Text
**********************************************************************
|
|
|
|
To try out django CMS, open a shell and run the following commands:
|
|
|
|
django-admin.py startproject mycmsproject
|
|
cd mycmsproject/mycmsproject
|
|
rm settings.py
|
|
rm urls.py
|
|
fetch https://gist.github.com/raw/1125918/settings.py
|
|
fetch https://gist.github.com/raw/1125918/urls.py
|
|
mkdir templates
|
|
cd templates
|
|
fetch https://gist.github.com/raw/1125918/example.html
|
|
cd ../..
|
|
python manage.py syncdb --all
|
|
python manage.py migrate --fake
|
|
python manage.py runserver
|
|
|
|
The last command should start a local server on port 8000 serving
|
|
your CMS installation, so open your browser and go to 127.0.0.1:8000
|
|
and you should see the CMS welcome page.
|
|
|
|
**********************************************************************
|