8000 GitHub - Daniyal-Murtaza/blogO
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Daniyal-Murtaza/blogO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy BlogO into Local Server

Following is the roadmap to deploy this project into local server:

Pre-Requisites:

Steps:

  1. Clone the repo:
git clone <repo url> 
  1. Create a virtual environment:
python -m venv env
  1. Activate the virtual environment:
source env/bin/activate
  1. Install requirements:
pip install -r requirements.txt
  1. Run migrations:
pyton manage.py migrate
  1. Create Superuser (For login and create your own post) otherwise Guest can just view the home page:
python manage.py createsuperuser
  1. Run server:
python manage.py runserver
  1. By running the command in step 7, it will give you a link (http://127.0.0.1:8000/). You can click on that to directly redirect into the website or you can just write (http://localhost:8000) in the browser.

Refernces:

Note:

  • For a dummy user (already made super user), you can just login with following credentials: username: daniyal password: Daniyal52782

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0