...
- Make sure Docker is running
- docker run hello-world
- Create a MySQL container
- docker pull mysql/mysql-server:latest
- docker run -p 3306:3306 --name launch-finance -e MYSQL_ROOT_PASSWORD=PASSWORD -d mysql (Contact admins for password)
- docker exec
it launchfinance mysql -uroot -p - CREATE DATABASE launchfinance
- Open up Docker Dashboard and start the container
...
- Find the Gradle menu on the right side of the screen: src > Tasks > application > bootRun
- The application will be running on http://localhost:8080/
Running the Frontend
- If it is your first time running the application, do npm install in the webapp repository
- npm start
- The application will be running on http://localhost:3030/
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!
Drop here!
Drop here!
Drop here!