Coder Social home page Coder Social logo

ameybhavsar24 / django-blog Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 3.0 34 KB

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

Home Page: http://ameybhavsar.pythonanywhere.com/

License: MIT License

Python 67.51% HTML 21.46% CSS 11.03%
django python3 backend pythonanywhere hacktoberfest

django-blog's Introduction

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

django-blog's People

Contributors

ameybh avatar ankita2002 avatar suraj317github avatar

Watchers

 avatar  avatar

django-blog's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.