Skip to content

This Django web app, part of CodeCrafter_Blog, features two views: blogHome: Fetches all blog posts. Renders 'bloghome.html' to display posts. blogPost: Retrieves a post using its slug. Increments view count. Renders 'blogpost.html' for post details.

kksain/CodeCrafter_Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create Virtual Environment

python -m venv myvirtualenv

Activate virtual environment

myvirtualenv\Scripts\activate

Clone the repository:

Navigate to the project directory:

  • cd CodeCrafter_Blog

Install dependencies:

pip install -r requirements.txt

Apply database migrations:

python manage.py migrate

Run the development server:

  • python manage.py runserver

Access the application at http://localhost:8000/.

About

This Django web app, part of CodeCrafter_Blog, features two views: blogHome: Fetches all blog posts. Renders 'bloghome.html' to display posts. blogPost: Retrieves a post using its slug. Increments view count. Renders 'blogpost.html' for post details.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published