ucsb-cs156-w24 / proj-gauchoride-w24-7pm-4

https://ucsb-cs156-w24.github.io/proj-gauchoride-w24-7pm-4/
0 stars 0 forks source link

proj-gauchoride

Deployments

Type Link
prod https://gauchoride.dokku-00.cs.ucsb.edu/
qa https://gauchoride-qa.dokku-00.cs.ucsb.edu/

W24 Production Deployments

Team Link
w24-7pm-1 https://gauchoride.dokku-13.cs.ucsb.edu/
w24-7pm-2 https://gauchoride.dokku-14.cs.ucsb.edu/
w24-7pm-3 https://gauchoride.dokku-15.cs.ucsb.edu/
w24-7pm-4 https://gauchoride.dokku-16.cs.ucsb.edu/

W24 QA Deployments

Team Link
w24-7pm-1 https://gauchoride-qa.dokku-13.cs.ucsb.edu/
w24-7pm-2 https://gauchoride-qa.dokku-14.cs.ucsb.edu/
w24-7pm-3 https://gauchoride-qa.dokku-15.cs.ucsb.edu/
w24-7pm-4 https://gauchoride-qa.dokku-16.cs.ucsb.edu/

Setup before running application

Before running the application for the first time, you need to do the steps documented in docs/oauth.md.

Otherwise, when you try to login for the first time, you will likely see an error such as:

Authorization Error; Error 401: invalid_client; The OAuth client was not found.

Getting Started on localhost

Then, the app should be available on http://localhost:8080

If it doesn't work at first, e.g. you have a blank page on http://localhost:8080, give it a minute and a few page refreshes. Sometimes it takes a moment for everything to settle in.

If you see the following on localhost, make sure that you also have the frontend code running in a separate window.

Failed to connect to the frontend server... On Dokku, be sure that PRODUCTION is defined.  On localhost, open a second terminal window, cd into frontend and type: npm install; npm start;

Accessing swagger

To access the swagger API endpoints, use:

To run React Storybook

SQL Database access

On localhost:

On Heroku: