This repository is just a hub to provide an environment for the project of the challenge, they are divided into 2 more repositories using git submodules
- Bold Commerce - Code Challenge Reference
- Backend: api & job using (php, laravel, mysql)
- Frontend: SPA using Vue.js
- PHP 7.0 - Laravel for API & Job Schedule
- Node.js - Vue.js 2
- MySQL 5.7
- Apache
- Docker
- docker-compose
- This repository & their submodules
- Docker
- docker-compose
- $
git clone --recursive https://github.com/davibusanello/bold-analytics-hub.git
- $
cd bold-analytics-hub
- $
docker-compose build
- $
docker-compose up
Use-d
if wanna run in background and don't wanna see the log output. - $
docker-compose exec api composer install
It will install the php packages required - $
docker-compose exec api php artisan migrate:fresh
It will run migrations in the database - $
docker-compose exec api php artisan shopify:review-sync
(optional) For manually sync the reviews (Job is running every 30 minutes) - Access: http://localhost If you haven't changed any ports map in docker-compose.yml
- $
docker-compose down
Stop all environment - $
docker-compose rm
Remove stopped containers - $
docker volume rm bold-analytics-hub_mysql-data
Will remove volume used by MySQL container & all data in the database