8000 GitHub - ameybh/django-blog: Blog application in Django with Create, Read and Update blog post functionality.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ameybh/django-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-blog

A basic personal CRUD blog

Description

A simple blog application in Django with create, read, update and delete functionality for posts. Build followed the Django Girls Tutorial with added style customization.

Thanks to PythonAnywhere for free hosting :)

Getting Started

Dependencies

Make sure you have installed Git and Python 3.7 on your system before proceeding.

Installing

  1. Download/Clone the code:
git clone https://github.com/ameybhavsar24/django-blog.git
cd django-blog
  1. Create a virtual environment to install dependencies (recommended):
python3 -m venv env
source env/bin/activate

These commands are focused on Bash users, you should be able to find equivalent commads for MacOS and Windows system easily.

  1. Install the requirements
pip install -r requirements.txt

Executing program

  1. Start the application
python manage.py makemigrations
python manage.py migrate
python manage.py runserver

The development server should have started on 127.0.0.1:8000

  1. Create a super user
python manage.py createsuperuser
  1. Login as super user at 127.0.0.1:8000/admin.
  2. Go to homepage at 127.0.0.1:8000

You should be able to add new posts and then edit or delete posts. All created posts will be seen on the homepage.

Screenshots

Homepage

image

Post view

image

Contributers

Here is a list of users who already contributed to this repository:

License

This project is licensed under the [NAME HERE] License - see the LICENSE.md file for details

Acknowledgments

Django Girls

About

Blog application in Django with Create, Read and Update blog post functionality.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  
0