Simple implementation of docker postgre database with python subscripion client and rest API.
- Download docker and git
- Clone git repository
$ git clone https://github.com/Nikodem98/opc_project.git
- In the terminal enter the root folder of the project and type the command:
$ docker-compose up
- Now, you need to wait for database system to run (PostreSQL database is running at this point. Use http://localhost:5001 to connect.).
- In the terminal enter the cilent-app folder of the project and type the command:
$ python main.py