To run, first install docker and Visual Studio Code. Add the docker plugin to visual studio code. If docker is not working as expected you can install mariadb or mysql directly using their respective installers. Please make sure it's version 5.7 for mysql not 8.0 as 8.0 has some password encryption that doesn't work with our mysql plugin from node.
- Using the docker plugin, right click ont he docker-compose.yml file and perform a "Compose Up".
- Then in the docker tab, attach a shell.
- log in to the database "mysql -uroot -p" enter "password"
- run the following command: "create database test;"
- exit out of the shell.
- Navigate to api directory
- npm install
- copy the ormconfig.json.example to ormconfig.json and modify the file to match your setup, primarily make sure username and password are correct for the database connection.
- npm run serve
- In another terminal navigate to the webapp2 directory
- npm install
- npm run dev
- Navigate to url displayed in the terminal to see if the application is running.