This repository contains a simple web application built with the Django web framework.
The project has the next basic apps:
- Blog (with draft/publish/archive management of posts, pagination and tag filtering)
- Flatpages
- Contact
- Create a Python 3.6 virtual environment.
- Install required dependencies:
pip install -r requirements.txt
- Create a MySQL database:
mysql -u root -p
CREATE DATABASE djangoblogsample;
\q
- Apply migrations to create database schema:
python manage.py migrate
- Load sample data to the database:
python manage.py loaddata sample_db_data.json
- Create a superuser that can log in to the admin panel:
python manage.py createsuperuser
- Run the local server:
python manage.py runserver
And, enjoy it! 🎉