https://github.com/genndy007/auto-company-db-gui
Database for AutoCompany, built with PostgreSQL. Application in Python3+Tkinter as a graphical frontend to it. Coursework for 3 semester.
https://github.com/genndy007/auto-company-db-gui
coursework database gui pgadmin4 postgresql psql python3 sql tables tkinter
Last synced: 4 months ago
JSON representation
Database for AutoCompany, built with PostgreSQL. Application in Python3+Tkinter as a graphical frontend to it. Coursework for 3 semester.
- Host: GitHub
- URL: https://github.com/genndy007/auto-company-db-gui
- Owner: genndy007
- Created: 2020-12-28T09:50:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-28T09:53:49.000Z (over 4 years ago)
- Last Synced: 2025-01-10T15:46:05.523Z (5 months ago)
- Topics: coursework, database, gui, pgadmin4, postgresql, psql, python3, sql, tables, tkinter
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
AutoCompany Database application
---------------------------About
--------------------
This application is to present the contents of tables. The database was created
and filled with PostgreSQL DBMS (used psql-shell and pgAdmin4)Requirements
-----------------
Install PostgreSQL
```
# Ubuntu
# Add repo
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
# Download and add key
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
# Update
sudo apt-get update
# Install
sudo apt-get -y install postgresql
```Programming languages:
Nothing but python3 and tkinterInstall tkinter if needed
```
sudo apt install python3-tk # Ubuntu, Debian
```Oh, yes... You need that database
1. Use psql
```
> \i tables.sql
> \i fill.sql
```
OR run commands from sql files at pgAdmin42. Create a file database.ini (in project folder :) ) with such contents:
[postgresql]
host=
database=
user=
password=Run
------------------
```
python3 app.py
```How to use
------------------
Run and press buttons to show the contents of tables filled by PostgreSQL
and feel happy :)