GitRec is a website composed of multiple components. This guide will introduce how to setup a develop environment quickly.
- Deploy GitRec via Docker Compose.
- Install
just
a command runner. - Install Python dependencies:
pip install -r requirements.txt
- Install npm and yarn:
# Install npm
sudo apt-get install npm
# Install yarn
sudo npm i -g yarn
These following command should be executed in the root directory of GitRec source.
just debug-cronjobs
GITHUB_ACCESS_TOKEN
will be loaded from.env
automatically.
just debug-jobs
- Build the frontend:
cd frontend
yarn install
yarn build
- Start web service in debug mode:
just debug-web
- Start web backend:
just debug-backend
- Start web frontend:
cd frontend
yarn install
yarn serve --port 5000