For newest version https://github.com/agusmakmun/python.web.id
Release Source Code of Django Blog Python Learning v.3.8
I assume you already setup your django development with virtual enviroment (virtualenv).
1. Create virtual enviroment and activate it.
$ virtualenv --python=/usr/bin/python3 yourenv
$ source bin/activate
2. Cloning this project
$ git clone [email protected]:agusmakmun/Django-Blog-Python-Learning.git
3. Install all requirements
If you getting an error,
error: command 'i686-linux-gnu-gcc' failed with exit status 1
please install first the python3-dev using commandsudo apt-get install python3-dev
for all-deb, or use different method. This probelm specialy forpip3 install psycopg2
. For more, please checkout this answer: http://stackoverflow.com/a/11094752/6396981
$ pip install -r requirements.txt
4. Database migrations
$ ./manage.py makemigrations
$ ./manage.py migrate
5. Run the server
$ ./manage.py runserver