Clone the sources
$ git clone https://github.com/MohammadrezaJavid/DRF-album-API.git
$ cd DRF-album-API
Config env file
First, create the env.py file similar to the example_env.py
and define the appropriate values for the variables of this file.
Create a virtual environment
$ make create-venv
Install dependencies using pip
$ make install-requirements
Migrate database
$ make migrate-database
Run tests API
$ make run-tests
Start the API server
$ make run-server
The API server will start using the default port 8000
.