The first thing to do is to clone the repository:
$ git clone https://github.com/gomofficial/Django-Blog.gitCreate a virtual environment to install dependencies in and activate it:
$ virtualenv env
$ source env/Scripts/activateThen install the dependencies:
(env)$ pip install -r requirements.txtOnce pip has finished downloading the dependencies:
(env)$ cd backend
(env)$ python manage.py runserver --settings=Config.local
And navigate to http://127.0.0.1:8000/.
1.build the image:
$ docker-compose build .2.Spin up the containers
$ docker-compose upthen view the site at http://localhost:8000/
Before you interact with the application, go to settings and set up secret key.
To run the tests, cd into the directory where manage.py is:
(env)$ python manage.py test
navigate to http://127.0.0.1:8000/swagger/ and http://127.0.0.1:8000/redoc/
rest api using drf, jwt authentications, django templates, html and css