Install pip first
sudo apt-get install python3-pip
Create virtualenv (Python3.8)
$ python3.8 -m venv myvenv
Activate virtualenv using
source myvenv/bin/activate
Clone this repo
git clone https://github.com/b4isty/movie-api.git
- Rename the .env.example to .env file and set the API username and password on that file
- Go to project directory
docker-compose up --build
docker exec -it movie_web bash
And Run
python manage.py test