To launch this project, you can download the source code as a zip file or you can clone the repo to your local machine. After you have downladed the project to your local machine, follow the steps below:
- Database initialization: (when running for first time or after deleting the database)
1. cd into db folder
2. execute the command `./db.bash -init` to initialize our Database
### 1. Open command-line and navigate to the project directory
```bash
$ cd cs-375-project
```
- Database maintaining:
### 2. Initialize (when running for first time or after deleting the database) the database by:
**Navigate to the "db" directory and initialize database by executing the commands below**
```bash
$ cd db
$ ./db.bash -init
```
**Database maintaining:**
1. execute the command `./db.bash -backup` to save a local backup of the Database
2. execute the command `./db.bash -update` to update the current database with the latest one
3. execute the command `./db.bash -destroy` to delete database
### 3. Set database password for Postgres
**Navigate back to the home directory of the project folder**
```bash
$ cd ..
$ vim env.json
Type in your Postgres password where the line reads "password": ""in between the quotes.
```
### 5. Initialize Express and Socket.io modules:
**Navigate back to the home directory of the project folder**