Django Blog
This is a blog website I created using Django and SQLite. The blog is hosted on PythonAnywhere and is accessible to anyone. Feel free to register for a new account, create a post or just check it out!
The reason I created this blog was to learn Django, get familiar with best practices in full stack web dev and having fun with creating a website from scratch. I used Django Girls tutorial as a starting point and highly recommend it to anyone who wants to learn Django, even if you're new to programming!
Blog Features
Below is a list of features that the blog currently has or that will be implemented.
- Social Login
- Sign up/Login for Account
- Account Profile
- Create Posts
- Create Topic Pages (similar to Reddit)
- Posts support Markdown
- Async Search for Posts
- Endless Pagination
- Material Design
- uWSGI and Nginx as web server
- Account Access Level
- Secure Website (Beyond Security)
Getting Started
- Project requirements:
- Python3 - install it from here
- Clone this repo:
git clone https://github.com/sujan-sube/django-blog.git
- Install Virutal Environment:
cd django-blog
python -m venv myvenv
- (if you have trouble with this check out this link)
- Activate Virtual Environment:
- For Windows:
myvenv\scripts\activate
- For Linux/Mac:
source myvenv/bin/activate
- Install Packages:
pip install -r requirements.txt
- Run DB Migrations:
python manage.py migrate
- Run Django Dev Server:
python manage.py runserver
If you have any questions or would like to get in contact with me, send me an email at ssujan1@hotmail.com.