Simple Blog App With Django 4 By Example Book
- Clone this repository:
git clone https://github.com/faresemad/Simple-Blog.git
. cd
intoSimple-Blog
.- Create a virtualenv with
python -m venv .venv
. - Activate virtualenv:
source .venv/bin/activate
on Linux orsource .venv/Scripts/activate
on Windows. - Install dependencies:
pip install -r requirements.txt
. - Run migrations:
python manage.py migrate
. - Create a superuser:
python manage.py createsuperuser
. - Run the server:
python manage.py runserver
. - Open
http://localhost:8000
in your browser. - Open
http://localhost:8000/admin
to access the admin site.