Before you can clone and run this project make sure follwoing things are installed
- GO
- MySQL
- Docker
- Connection string in env file should be updated as
${user}:${password}@tcp(localhost:3306)/logistics
- Replace
${MAPS_KEY}
with your Key (Distance api should be enabled) - Update User and Password
- Run :
./start.sh
- Update .env file as stated above
- Run :
./run_test.sh
- Update
${MAPS_API_KEY}
indocker-compose.yml
with the actual key - cd cmd
- Run :
make docker-dev-start