|
1 | | -# Django-Blog-Python-Learning |
| 1 | +Django-Blog-Python-Learning |
| 2 | +------- |
2 | 3 |
|
3 | | -Release Source Code of Django Blog Python Learning v.3.0 |
| 4 | +Release Source Code of Django Blog Python Learning v.3.5 |
4 | 5 |
|
5 | | -``` |
6 | | -Name : Django Blog Python Learning |
7 | | -Created By : Agus Makmun (Summon Agus) |
8 | | -Blog : bloggersmart.net - python.web.id |
9 | | -License : GNU GENERAL PUBLIC LICENSE Version 2, June 1991 |
10 | | -Repository : https://github.com/agusmakmun/Django-Blog-Python-Learning |
11 | | -Modified from : https://github.com/arocks/qblog - Django 1.7 - Arun Ravindran |
12 | | -``` |
| 6 | +### Demo: |
| 7 | +- [https://python.web.id](https://python.web.id) |
13 | 8 |
|
14 | | -> This repository modified from old project of django blog at https://github.com/arocks/qblog with Django 1.7. Thanks so much for it. and in this `Django Blog Python Learning v.3.0` gets big changes with much feature added. |
| 9 | +### Features |
| 10 | + |
| 11 | +- Django Suit |
| 12 | +- Django Wysiwyg Redactor |
| 13 | +- Django disqus for comments. |
| 14 | +- Face 90% bootstrap. |
| 15 | +- Admin Site: User, Post, Page, Author, Tag & Gallery. |
| 16 | +- Pagination posts, Sitemap page, Search posts page, Display posts under tags, Display posts under Author. |
| 17 | +- Related posts |
| 18 | +- Next and previous for post. |
| 19 | +- sitemap.xml, feed |
| 20 | +- Contact form. |
| 21 | +- About author in the botom of posts. |
| 22 | +- Visitor Counter |
| 23 | +- much more... |
15 | 24 |
|
16 | | -### Demo: |
17 | | -- [https://python.web.id](https://python.web.id) |
| 25 | +### Instalation |
18 | 26 |
|
19 | | -### Update and Commits |
| 27 | +I assume you already setup your django development with virtual enviroment (virtualenv). |
20 | 28 |
|
21 | | -- https://github.com/agusmakmun/Django-Blog-Python-Learning/commits/master |
| 29 | +**1. Create virtual enviroment and activate it.** |
22 | 30 |
|
23 | | -### Stack Problem |
| 31 | +``` |
| 32 | +$ virtualenv --python=/usr/bin/python3 yourenv |
| 33 | +$ source bin/activate |
| 34 | +``` |
24 | 35 |
|
25 | | -- https://python.web.id/tag/django/ |
26 | | -- https://github.com/agusmakmun/Some-Examples-of-Simple-Python-Script/tree/master/Django |
| 36 | +**2. Cloning this project** |
27 | 37 |
|
28 | | -### Features |
29 | | - |
30 | | -- django-wpadmin |
31 | | -- django-ckeditor |
32 | | -- django disqus for comments. |
33 | | -- face 90% bootstrap. |
34 | | -- admin site, user, post, page, author, tags & gallery dan files. |
35 | | -- pagination posts, sitemap page, results query, display posts under tags. |
36 | | -- related posts |
37 | | -- read more posts |
38 | | -- next and previous for post. |
39 | | -- show all posts under tags. |
40 | | -- sitemap.xml, feed, sitemap page. |
41 | | -- contact form. |
42 | | -- search box, used for { body, title, and keywords } |
43 | | -- widget all tags, recent comments & recent posts. |
44 | | -- about author in the botom of posts. |
45 | | -- print page |
46 | | -- show ip visitor |
47 | | -- display article under author. |
48 | | -- much more... |
| 38 | +``` |
| 39 | +$ git clone [email protected]:agusmakmun/Django-Blog-Python-Learning.git |
| 40 | +``` |
49 | 41 |
|
50 | | -### ChangeLog |
| 42 | +**3. Install all requirements** |
51 | 43 |
|
52 | | -* https://github.com/agusmakmun/Django-Blog-Python-Learning/blob/master/CHANGELOG.md |
| 44 | +> If you getting an error, `error: command 'i686-linux-gnu-gcc' failed with exit status 1` |
| 45 | +> please install first the python3-dev |
| 46 | +> using command `sudo apt-get install python3-dev` for all-deb, or use different method. |
| 47 | +> This probelm specialy for `pip3 install psycopg2` |
| 48 | +> For more, please checkout this answer: http://stackoverflow.com/a/11094752/6396981 |
53 | 49 |
|
54 | | -### Prequirements: |
| 50 | +``` |
| 51 | +$ pip3 install -r requirements.txt |
| 52 | +``` |
| 53 | + |
| 54 | +**4. Database migrations** |
| 55 | + |
| 56 | +``` |
| 57 | +$ ./manage.py makemigrations |
| 58 | +$ ./manage.py migrate |
| 59 | +``` |
| 60 | + |
| 61 | +**5. Run the server** |
55 | 62 |
|
56 | 63 | ``` |
57 | | -Django==1.8.5 |
58 | | -Pillow==3.0.0 |
59 | | -django-ckeditor==5.0.2 |
60 | | -django-disqus==0.5 |
61 | | -django-wpadmin==1.7.4 |
62 | | -funcsigs==0.4 |
63 | | -mock==1.3.0 |
64 | | -pbr==1.8.0 |
65 | | -postgres==2.2.0 |
66 | | -psycopg2==2.6.1 |
67 | | -six==1.9.0 |
68 | | -wsgiref==0.1.2 |
| 64 | +$ ./manage.py runserver |
69 | 65 | ``` |
| 66 | +------- |
70 | 67 |
|
71 | 68 | ### Screenshot: |
72 | 69 |
|
73 | 70 | #### Homepage |
74 | 71 |
|
75 | | -<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/homepage.png"/> |
| 72 | + |
76 | 73 |
|
77 | | -#### Post Detail |
| 74 | +#### Detail Post |
78 | 75 |
|
79 | | -<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/post.png"/> |
| 76 | + |
80 | 77 |
|
81 | | -#### Related Post, Author, Next & Previous Post, and Disqus Comments |
| 78 | +#### Admin Dashboard _(using django suit)_ |
82 | 79 |
|
83 | | -<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/related%20post%2C%20author%20and%20disqus%20comment.png"/> |
| 80 | + |
84 | 81 |
|
85 | | -#### Search Post under Query |
| 82 | +#### All Posts on the Admin Dashboard & _Included Django Import Export_ |
86 | 83 |
|
87 | | -<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/search%20query.png"/> |
| 84 | + |
88 | 85 |
|
89 | | -#### Sitemap Page |
| 86 | +#### Tags Filter and Redactor Editor |
90 | 87 |
|
91 | | -<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/sitemap%20page.png"/> |
| 88 | + |
92 | 89 |
|
93 | | -#### Contact Form |
| 90 | +#### Gallery File & Images |
94 | 91 |
|
95 | | -<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/contact%20form.png"> |
| 92 | + |
96 | 93 |
|
97 | | -#### Admin Dashboard <i>(using django-wpadmin)</i> |
| 94 | +### Update and Commits |
98 | 95 |
|
99 | | -<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/admin%20dashboard.png"> |
| 96 | +- https://github.com/agusmakmun/Django-Blog-Python-Learning/commits/master |
100 | 97 |
|
101 | | -#### All Posts in Admin |
| 98 | +### Stack Problem |
102 | 99 |
|
103 | | -<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/admin%20blog%20entry.png"> |
| 100 | +- https://python.web.id/tag/django/ |
| 101 | +- https://github.com/agusmakmun/Some-Examples-of-Simple-Python-Script/tree/master/Django |
| 102 | + |
| 103 | + |
| 104 | +### ChangeLog |
104 | 105 |
|
105 | | -#### Tags Filter and Ckeditor |
| 106 | +* [CHANGELOG](CHANGELOG.md#v35) |
106 | 107 |
|
107 | | -<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/admin%20tags%20filter%20and%20ckeditor.png"> |
108 | 108 |
|
109 | | -#### All Gallery images and file |
| 109 | +### License |
110 | 110 |
|
111 | | -<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/admin%20gallery%20and%20files.png"> |
| 111 | +* [MIT](LICENSE) |
0 commit comments