project from the following course: shorturl.at/hCLZ0
1- Clone the repo: git clone https://github.com/arminadm/django_blog.git
2- switch to the direction that dockerfile exist cd django_blog
3- use docker build .
to build the image
4- use docker run -p 8000:8000 -d <image tag>
to setup the container
1- Clone the repo: git clone https://github.com/arminadm/django_blog.git
2- install python (version: 3.8) and the requirements: pip install -r requirements.txt
3- use python manage.py makemigrations
and python manage.py migrate
4- run the project: python manage.py runserver
After creating superuser using python manage.py createsuperuser
you can access to admin panel, create any post that you want and adjust other options as many as you need to
you can see the results after your changes on the webpages