- Install MySQL
- via Docker
- Install Docker from docker.com (windows users might need to install docker-toolbox (an older version))
- navigate to the root of the project, the one with docker-compose.yml in it.
- run docker-compose up
- via MySql.com
- Install the community edition
- Get a mysql client
- Mac OS
brew install mysql-client
via HomeBrew- Sequel Pro
- VSCode
- MySQL Extension
- Mac OS
- Create two databases, one for test and one for development, default the names are
dev
andtest
- via Docker
- Run the API app
- navigate to
<project root>/api
npm install
npm run start
||npm run dev
- navigate to
- Run the client
- navigate to
<project_root>/client
npm install
npm run serve
- navigate to
npm
- NPM is required for this project, if you don't have it, please install it from instructions on Get NPM
mysql on windows with docker
- there might be an issue connecting to the running mysql instance if you are using docker-toolbox. this is because it doesn't bind to the local ip of the host machine.
- Run
docker-machine ip
to get the ip of the docker machine - You will then change your config.json to have the host be the ip returned in above command.
- Run