Py学习  »  Django

本人用Django + AngularJS 写的个人网站

rapospectre • 8 年前 • 13427 次点击  

新人发帖,望轻喷@_@

最近入门了下AngularJs, 然后尝试了下用前后分离的方法写了个个人网站(angularjs 学的很基本啦,望高手轻喷)。有博客的文章、评论系统等,还有一些其他的功能。后台管理部分也基本健全,默认登陆账户就是syncdb时创建的账户哈。全站文章格式全部基于Markdown, 和django-china一样使用了wmd editor。

欢迎大家交流拍砖。

详细介绍:

How to use?

1、Download the zip package:

wget https://github.com/bluedazzle/django-angularjs-blog.git

or cilick the button "Download ZIP" rightside.

2、Unzip the package, enter the folder which you unziped, then:

pip install -r requirement.txt

3、Configure the database backend which you need in NewRaPo/settings/dev.py or create your own produce settings file in settings/

4、Create database in database you choose, and run:

python manage.py syncdb

5、run test:

python manage.py test

6、run test server:

python manage.py runserver

or configure your produce server software like uWSGI、apache.

Feature

The simple blog site include four parts:

1、Blog: Show your articles and comment your article.
2、Knowledge: Something like a private "baidu zhidao", you can add any kinds of questions and answers.
3、Laboratory: something interesting or new IT technologies you can have a try here.
4、About : a static page you can edit anyting you want to show to others.

github地址:New RaPo Site on github

无耻的附上个人网站地址New RaPo Site

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/1114
 
13427 次点击  
文章 [ 7 ]  |  最新文章 8 年前
mugbya
Reply   •   1 楼
mugbya    8 年前

@rapospectre 是滴

rapospectre
Reply   •   2 楼
rapospectre    8 年前

@mugbya 是滴,你也是?

rapospectre
Reply   •   3 楼
rapospectre    8 年前

@沃尔德 嗯嗯,写的时候考虑过用django-rest-framework,不过当时已经有一部分用fbv做了,就没再用drf了,下一步考虑重新用cbv做一遍,会用drf。谢谢建议哈!

mugbya
Reply   •   4 楼
mugbya    8 年前

你是四川额

沃尔德
Reply   •   5 楼
沃尔德    8 年前

架构不够清晰。 我们是 angular.js + tastypie 。

rapospectre
Reply   •   6 楼
rapospectre    8 年前

@mugbya 好像是大了点@_@

mugbya
Reply   •   7 楼
mugbya    8 年前

.... 感觉字体略大了些...

好腻害