First you will need to have docker installed:
curl -sSL https://get.docker.com/ | shcurl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o docker-compose
chmod +x docker-compose
sudo mv docker-compose /usr/local/bin/docker-composeUse docker and docker-compose without sudo:
sudo usermod -aG docker $USERYou will need to logout and login back to apply permissions on user
First you will have to edit back-insight/.env file with google api key (or add a line in docker-compose.yml in back-insight env variables with GOOGLE_API_KEY="key")
Then build and run docker containers using this command
docker-compose build && docker-compose up -dNow you can create tables using :
docker-compose exec back-insight npm run migrateThen wait some minutes ( the cron is running each minute to fetch data on pagespeed Insight )
The front is accessible on http://localhost:3000/
