Skip to content
This repository was archived by the owner on Dec 7, 2019. It is now read-only.

GneyHabub/DMD-Project

Repository files navigation

DMD-Project

Software project in DMD course at Innopolis University by Hany Hamed, Alexandr Grischenko and Alexandr Krivonosov (2019)

**How to use the Database?

1- Install postgres from that link and setup the environment or it depends on your machine, it is easier on linux OS.

1.1- and install faker library from here and psycopg2 from here.

1.2- Good links for configuration and running postgres:

2- Modify the password to "123456789" and the user "user".

3- You need to create a Database with the name "Hospital" in postgres using: sudo -u postgres createdb Hospital.

4- Run sudo -u postgres psql -d Hospital to run the database shell.

5- Type \c to connect to the database.

6- Run generate.py using python3 generate.py to generate fake data for testing.

7- Run main.py using python3 main.py to run the main program that is responsible for the queries.

8- To restore the schemas original files run ./restore_schemas.sh

About

Software project in DMD course at Innopolis University by Hany Hamed, Alexandr Grischenko and Alexandr Krivonosov (2019)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors