Download docker for your operating system: https://docs.docker.com/get-docker/
-
Install pre-commit Use
pip
to install pre-commitpip install pre-commit
Or using homebrew on macOS
brew install pre-commit
For more installation alternatives, check out Pre-commit official documentation.
-
Verify pre-commit installation
pre-commit --version
Follow the steps below to set up the repo for development
-
Clone the repository and change the working directory
git clone https://github.com/avantifellows/plio-frontend.git cd plio-frontend
-
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:
npm install docker-compose up -d --build --renew-anon-volumes
-
For development only, run the following command to install pre-commit
pre-commit install
-
Your frontend app should be accessible at http://localhost:8080.
NOTE - To install and set up the Plio Backend, follow the steps outlined here.
- To enable Google sign-in support, visit the Google OAuth2 guide.