Start services
docker compose up`
Create repo in server
Go to https://localhost:5001 and use POST /repository/{name} to create a new repository.
git remote add origin ssh://gituser@localhost:2222/data/git/repositories/{name}
git push origin main
Go to https://localhost:3001 from browser
sudo mkdir -p /data/git/repositories
Allow user to change folder
sudo chown -R $USER:$USER /data/git/repositories
Run API
dotnet watch --urls=https://localhost:5001
Change API_URL in api.ts.
npm run dev