/DarkHouse

个人博客

Primary LanguageCSS

Django_Blog

0.Python == 2.7

1.Mysql == 1.5.6

2.Django == 1.8.2

3.Pillow == 3.4.2

4.MySQL-Python == 1.2.5

##I recommend using nginx+uwsgi to deployment server; # ##And I have set the dubug false,so staticfile will not correctly load without static server#

step 1:

1.Set the USER and PASSWORD of your Mysql in file Blog_project/settings

2.Set the SITE_URL with your server ip in file Blog_project/settings

3.Set the blog_owner in file Blog_project/settings

4.Set the personal information in the file Blog_project/settings

step 2: Create the database named 'myblog'

step 3: Run "python manage.py syncdb" to set the admin user

step 4: enjoy it!