https://apostl78.pythonanywhere.com/admin/ login: test password: test
To start this app you need to:
- Clone this repo and move to project
git clone https://github.com/ApostL78/RanksAPI.git && cd RanksAPI
- Create and activate
venv
python3 -m venv venv && source ./venv/bin/activate
- Create environment variables
cp .env.example .env
and then put your values 4. Run with docker-compose
docker-compose up --build -d
After the application starts, navigate to http://localhost:8000
in your web browser.
5. For best usage go inside web app container
docker-compose exec -it web bash
then run command and create super user to manage data in admin page
python3 manage.py createsuperuser
Login in admin panel, create instances and check endpoints item/<int:pk>
and order/<int:pk>