Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Contact Joy Sangsrichan (RIT Student)or Austin Heisey (RIT Student) to get access to Jira and GitLab as well as database credentials. Feel free to ping us if you need help setting up the environment too!

...

Docker for Windows/MacOS - https://docs.docker.com/get-docker/

Docker for Fedora - sudo dnf install docker

...

  • Navigate to Preferences > Build, Execution, Deployment > Docker
  • Connect to Docker daemon with: Docker for [your OS here]
  • Wait for the message Connection Successful
  • There should be a new tab called Services should launch at the bottom, wait for it to connect. You should be able to see the list of Docker containers


Connect to MySQL Database

  • Open the Database tab on the right
  • Add a Datasource > MySQL
  • User: root
  • Password:PASSWORD (Contact admins for password)
  • Database: launchfinance
  • Test Connection


Running the Backend

  • Find the Gradle menu on the right side of the screen: src > Tasks > application > bootRun


Running the Frontend

  • If it is your first time running the application, do npm install in the webapp repository
  • npm start

Accessing Database through command line 
  • AVOID DOING THIS UNLESS IT IS ABSOLUTELY NECESSARY
  • IntelliJ has this really cool built-in database viewer if you need to view the tables
  • If you need to update the database manually, write a script so FlyWay can keep track of it
  • docker exec -it -launchfinance mysql -uroot -pPASSWORD
Drop here!

...