git clone https://github.com/vicalloy/DPress.git dpress
cd dpress
pip install -r requirements.txt (安装必要的python模块)
cd sites
python manage.py syncdb
python manage.py migrate
python manage.py runserver > /dev/null &
(这命令是运行在默认的8000端口。如果想运行在其他端口,比如56477,则
nohup python manage.py runserver 0.0.0.0:56477 > /dev/null &)
立马可以访问http://as3.brite.biz:56477/,后台地址:http://as3.brite.biz:56477/admin
默认用户名为root.
它的数据库是sqlite.无需操心数据库问题。
其他配置
config
copy sites/settings/pre.sample to sites/settings/pre.py and config it.
copy sites/settings/local.sample to sites/settings/local.py and config it.
use theme moment
moment is a theme designed by Hsiaoming Yang
copy sites/settings/pre.sample to sites/settings/pre.py
modify pre.py and set "SETTINGS = 'theme_moment'"
演示站点:http://as3.brite.biz:56477/
项目地址:https://github.com/vicalloy/DPress
cd dpress
pip install -r requirements.txt (安装必要的python模块)
cd sites
python manage.py syncdb
python manage.py migrate
python manage.py runserver > /dev/null &
(这命令是运行在默认的8000端口。如果想运行在其他端口,比如56477,则
nohup python manage.py runserver 0.0.0.0:56477 > /dev/null &)
立马可以访问http://as3.brite.biz:56477/,后台地址:http://as3.brite.biz:56477/admin
默认用户名为root.
它的数据库是sqlite.无需操心数据库问题。
其他配置
config
copy sites/settings/pre.sample to sites/settings/pre.py and config it.
copy sites/settings/local.sample to sites/settings/local.py and config it.
use theme moment
moment is a theme designed by Hsiaoming Yang
copy sites/settings/pre.sample to sites/settings/pre.py
modify pre.py and set "SETTINGS = 'theme_moment'"
演示站点:http://as3.brite.biz:56477/
项目地址:https://github.com/vicalloy/DPress