Download docker for your operating system: https://docs.docker.com/get-docker/
- Clone the repository and change the working directory
git clone https://github.com/avantifellows/plio-analytics.git cd plio-analytics
- For DEVELOPMENT PURPOSE only, make sure Docker Desktop application is running and docker version is giving a proper output.
docker --version
- Set up your
.env
file by copying.env.example
filecp .env.example .env
- Update environment variables in your
.env
file based on your environment. For all available settings, see our Environment variables guide. - Build the docker image and run the containers using just one command:
docker-compose up -d --build
- For DEVELOPMENT PURPOSE only, run the following command to install pre-commit
pre-commit install
- Your Cube.js API and Developer Playground should be accessible at http://localhost:4000 (assuming that you set the
APP_API_PORT
environment variable as4000
). You should be able to see the default schema and a few schema files as shown in the image below.