This is my personal blog site where i post blogs or articles.
This is a demo personal blogging site that was created to include in my portfolio.
Clone the repository
git clone https://github.com/surajkarki66/personal-blog-site
Create a python virtual environment
python -m venv venv
Activate the virtual environment
source venv/bin/activate
Install the requirements
pip install -r "requirements.txt"
Create a .env
file in a project root directory and set all the environment variables based on the provided .env.sample
example.
Migrate the database
python manage.py migrate
Run the development server
python manage.py runserver
Preview: http://127.0.0.1:8000
Note: If you want to open the admin panel go to http://127.0.0.1:8000/admin, and make sure you have an admin account.
To create admin account run the following command.
python manage.py createsuperuser
Happy Coding !!