Installation and Configuration - ada1121/cs5200-fall2018-Project-Gutenberg GitHub Wiki

Provide a link to a Github Wiki page with detailed instructions on how to compile, configure and run your project on our local machines. This might include an SQL script that can be used to recreate your database schema and data, perhaps exported from your local or remote database. If your project is hosted (and working) on a remote hosted server, then this step is not needed, but if your project is not running remotely, it will be very difficult for us to verify your project without these detailed steps Compile

  1. Clone file here "cs5200-fall2018-project" for project BackEnd and file "front" for FrontEnd.
  2. Import "cs5200-fall2018-project" file in STS.
  3. Connect to RDS using MYSQL Workbench and update credentials in application.properties file.
    • Host: cs5200-fall2018-jin.cororwmtclst.us-east-2.rds.amazonaws.com
    • Database name: Project
    • username: -----
    • password: ----- (contact for details)
  4. Run Cs5200Fall2018ProjectApplication.java as Spring Boot application. Tables are generated automatically in the backend.
  5. Run "front" file by WebStorm or compile "front file" by
    -npm install
    -ng serve Now application will be available at http://localhost:4200 to access the homepage.

Note: suggest to keep workbench opened while running the test as user and domain object id is required to test the application.

Highly recommend to have database opened during test as object id and user id is required at some point.
Role Table. id role username
1 customer dan
2 manager alice
3 actor charlie
4 actor ed
5 staff bob
6 staff frank
7 admin admin

Youtube link to demo:
https://www.youtube.com/watch?v=ux8obarqG8Y&feature=youtu.be Note: there is a typo in video at 6:37. Insert wrong show id. It should be 4. There's why we have duplicate records in actor at 7:59.