By Caleb Stevenson & Chance Neff Elysia Nason
- In your first terminal window:
- Start postgres:
$ postgres
- Start postgres:
- In your second terminal window:
- Start psql:
$ psql
- Create database:
# CREATE DATABASE virtual_pets;
- Start psql:
- In your third terminal window:
- Clone this repository to your desktop:
$ cd Desktop; git clone https://github.com/CGrahamS/virtual-pets
- Navigate to the hair-salon directory:
$ cd virtual-pets
- Create database schema from virtual_pets.sql:
$ psql virtual_pets < virtual_pets.sql
- Clone this repository to your desktop:
- Back in your second terminal window:
- Confirm the database has been restored correctly:
- Connect to virtual_pets database:
# \c virtual_pets;
- Print out database tables:
# \dt;
NOTE: You should see `stylists` and `clients` tables in the `virtual_pets` database. - Connect to virtual_pets database:
- Confirm the database has been restored correctly:
- Back in your third terminal window:
- Run the server:
$ gradle run
- Run the server:
- In the browser of your choosing, navigate to "localhost:4567" (tested in Chrome).
None
Caleb Stevenson: [email protected] Chance Neff: [email protected] Elysia Nason: [email protected]
Java, Spark, Velocity, SQL
This webpage is licensed under the GPL license.
Copyright © 2016 Caleb Stevenson & Chance Neff & Elysia Nason