Docker should be installed and running on your computer.
docker pull auabake/pezesha
docker run -p 8000:8000 auabake/pezesha
To view the docker image use this link
https://hub.docker.com/r/auabake/pezesha
the application will be running on
http://127.0.0.1:8000/api/v1/swagger/
you can access with Swagger or Postman
Docker should be installed and running on your computer.
Clone the repo cd into the repo.
Run services:
docker compose up -d --remove-orphans
Bring services down:
docker compose down
Install python 3.11
Install requirements
pip install -r reuirements.txt
Run the project
python manage.py runserver
The docker image is deployed to the Image registry. You simply pull and run the image. In your pipeline.
Go to this endpoint use username:pezesha password:pezesha
Copy access token
Go to authorize and paste the token, the close.
Use this to create account
{
"account_name": "test",
"account_type": "current_account",
"balance": "1000"
}
http://127.0.0.1:8000/api/v1/accounts/1/
This will list the account with id 1
{
"from_account": 2,
"to_account": 1,
"amount": 2000
}