Skip to content

RamyFerhat59/cashmanager

Repository files navigation

Cash manager

The aim of this project is to build a distant payment system that can receive and execute orders issued by a terminal app on your phone.

 

Docker set-up

1. Build containers

docker-compose -p cash_manager build --no-cache

2. Start containers

$ docker-compose -p cash_manager up -d

 

Create a super user for Django admin

1. Create a superuser

You need to create a superuser in order to access the django admin page

docker-compose exec api_dev python manage.py createsuperuser

 

Exporting data from database for the next seed

pg_dump -U <db_username> <db_name> -h -t <table_name> > seed.sql Host can be found with docker inspect <the_container_id> of the database

docker-compose exec db_dev pg_dump -U postgres postgres -h 172.27.0.2 > seed.sql

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published