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
justa 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 yarnThese following command should be executed in the root directory of GitRec source.
just debug-cronjobs
GITHUB_ACCESS_TOKENwill be loaded from.envautomatically.
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