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