Pre-requisites:
Install Python 3
, pip
and virtualenv
-
Create a project folder
$ mkdir project $ cd project
-
Create a python 3 virtualenv, and activate the environment to install requirements.
$ python3 -m venv env $ source env/bin/activate
-
Install the project dependencies from
requirements.txt
(env)$ pip install -r requirements.txt
-
Clone the repository
(env)$ git clone https://github.com/akhil-s-kumar/django-blog-app.git (env)$ cd django-blog-app
Activate virtual environment env
. Give following commands:
(env)$ python manage.py makemigrations
(env)$ python manage.py makemigrations blogApp
(env)$ python manage.py makemigrations users
(env)$ python manage.py migrate
(env)$ python manage.py createsuperuser
(env)$ python manage.py runserver
- Blog List View
- Recent Posts
- Category list
- Search
- Pagination
- Blog Detail View
- Login/Register
- Comment
- Create Blog Post
- Edit Profile