# Software Version:
Django 1.8
python 3.5
# installation (Development)
1. install ```postgresql``` and create a database called ```django_blog``:
sudo pacman -S postgresql
su postgres
createdb django_blog
PS: follow [PostgreSQL - arch wiki](http://wiki.archlinux.org/index.php/PostgreSQL) OR other instruction if you are using other platform.
2. install ```virtualenv```, ```virtualenvwrapper```:
sudo pacman -S python, python-pip
sudo pip install virtualenv virtualenvwrapper
3. create a ```virtualenv``` environment:
mkvirtualenv pydblog
4. install python dependencies:
pip install -r requirenments
5. migrate database:
cd django_blog
python manage.py makemigration
python manage.py syncdb
6. run the web server:
python manage.py runserver
7. open your browser and enter url: http://127.0.0.1:8000
# Installation (Production)
I've post my method in my blog: [uwsgi + Nginx to start up a Django Project](http://realhu.tk/post/uwsgidjango)
# References:
[Django Tutorial](https://docs.djangoproject.com/en/1.8/intro/tutorial03/)
[A clean Bootstrap blog theme created by Start Bootstrap](https://github.com/IronSummitMedia/startbootstrap-clean-blog)
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【资源说明】 python毕业设计-基于Django+PostgreSQL+markdown的小型博客站源码设计与实现+使用说明.zip 【备注】 1、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 2、本项目适合计算机相关专业(如软件工程、计科、人工智能、通信工程、自动化、电子信息等)的在校学生、老师或者企业员工下载使用,也可作为毕设项目、课程设计、作业、项目初期立项演示等,当然也适合小白学习进阶。 3、如果基础还行,可以在此代码基础上进行修改,以实现其他功能,也可直接用于毕设、课设、作业等。 欢迎下载,沟通交流,互相学习,共同进步!
资源推荐
资源详情
资源评论
收起资源包目录
python毕业设计-基于Django+PostgreSQL+markdown的小型博客站源码设计与实现+使用说明.zip (101个子文件)
home-bg.jpg.bak 169KB
post-bg.jpg.bak 138KB
about-bg.jpg.bak 32KB
home-bg.jpg.bak2 131KB
about-bg.jpg.bak2 131KB
post-bg.jpg.bak3 79KB
home-bg.jpg.bak3 79KB
about-bg.jpg.bak3 79KB
django_blog.nginx.conf 2KB
nginx.conf 903B
django.conf 400B
local_settings.conf 0B
local_settings.conf 0B
bootstrap.css 144KB
bootstrap.css 144KB
bootstrap.min.css 120KB
bootstrap.min.css 120KB
bootstrap-theme.css 26KB
bootstrap-theme.min.css 23KB
clean-blog.css 9KB
clean-blog.min.css 7KB
so-card-widget.min.css 2KB
bootstrap.css 255B
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.eot 20KB
.gitignore 593B
gunicorn_start 1KB
bootstrap.html 25KB
contact.html 8KB
stackoverflow-card.html 6KB
index.html 2KB
footer.html 2KB
about.html 2KB
post.html 1KB
header.html 1KB
nav.html 1KB
details.html 987B
index.html 976B
github.html 438B
base_site.html 282B
gallery.html 0B
login.html 0B
contact-bg.jpg 283KB
post-bg.jpg 162KB
home-bg.jpg 162KB
about-bg.jpg 162KB
post-sample-image.jpg 112KB
jquery.js 242KB
jquery.min.js 82KB
bootstrap.js 67KB
bootstrap.js 67KB
clean-blog.js 40KB
bootstrap.min.js 36KB
bootstrap.min.js 36KB
clean-blog.min.js 17KB
so-card-widget.min.js 2KB
npm.js 484B
clean-blog.less 7KB
mixins.less 433B
variables.less 150B
bootstrap.css.map 381KB
bootstrap-theme.css.map 47KB
README.md 1KB
contact_me.php 1KB
blac.png 162KB
settings.py 3KB
views.py 2KB
0001_initial.py 1KB
models.py 1KB
0001_initial.py 1KB
views.py 1KB
models.py 759B
0002_about.py 638B
admin.py 620B
admin.py 539B
urls.py 526B
urls.py 514B
0002_auto_20151018_1205.py 413B
urls.py 401B
wsgi.py 399B
manage.py 254B
tests.py 117B
tests.py 60B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
startup.sh 38B
glyphicons-halflings-regular.svg 106KB
glyphicons-halflings-regular.svg 106KB
glyphicons-halflings-regular.ttf 44KB
glyphicons-halflings-regular.ttf 44KB
requirement.txt 157B
uwsgi_params 664B
glyphicons-halflings-regular.woff 23KB
glyphicons-halflings-regular.woff 23KB
glyphicons-halflings-regular.woff2 18KB
glyphicons-halflings-regular.woff2 18KB
run_gunicorn_port.wsgi 60B
共 101 条
- 1
- 2
资源评论
不走小道
- 粉丝: 3200
- 资源: 5125
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- IMG_0694.GIF
- 基于图像的三维模型重建C++源代码+文档说明(高分课程设计)
- 基于聚焦法的工件立体测量方案,根据数据进行三维重建 使用HALCON处理图像,MATLAB拟合数据+源代码+数据集+效果图
- 锄战三国村 修改:货币使用不减 v1.10(2) 原创 (中文).apk
- 基于python实现的单目双目视觉三维重建+源代码+图像图片(高分课程设计)
- 基于C+++OPENCV的全景图像拼接源码(课程设计)
- 基于Python+OpenCV对多张图片进行全景图像拼接,消除鬼影,消除裂缝+源代码+文档说明+界面截图(高分课程设计)
- 基于C++实现的全景图像拼接源码(课程设计)
- 基于SIFT特征点提取和RASIC算法实现全景图像拼接python源码+文档说明+界面截图+详细注释(95分以上课程大作业)
- 基于matlab实现眼部判别的疲劳检测系统+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功