Skip to content

Latest commit

 

History

History
86 lines (56 loc) · 1.04 KB

README.md

File metadata and controls

86 lines (56 loc) · 1.04 KB

Weblog

Advanced and modern weblog.

How to Run Project

Download Codes

git clone https://github.com/dori-dev/weblog.git
cd weblog

Build Virtual Environment

python -m venv env
source env/bin/activate

Install Project Requirements

pip install -r requirements.txt

Create .Env File

mv .env.example .env

And set your environment variables in .env.

Create Extension

psql -U postgres db_name
CREATE EXTENSION pg_trgm;

Migrate Models

python manage.py makemigrations blog
python manage.py migrate

Add Super User

python manage.py createsuperuser

Run Project

python manage.py runserver

Open On Browser

Blog Page: 127.0.0.1:8000/blog
Admin Page: 127.0.0.1:8000/admin

Links

Download Source Code: Click Here

My Github Account: Click Here