This is a project that implements a database system for managing supplies at a store, using Java.
- Clone the repository using the following command:
git clone https://github.com/akasakakona/CS166-Database-Project-Phase-3.git
cd
intoCS166-Database-Project-Phase-3/sql/scripts
folder.- Run the the following command from that directory, wait for it to finish.
./setup.sh
- Enter
\q
to exit from the database command line - To run the project, simply run
./compile.sh
- Done!
- Once you are done with everything, simply run the following command and exit
source ./stopPostgreDB.sh
NOTE: If you ever encounter Permission Denied
error, try running the following command:
chmod u+x <script you were trying to run>