Skip to content

matteobortolazzo/gitmess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

GitMess

Services

How to run

  1. Start services
docker compose up`
  1. Create repo in server

Go to https://localhost:5001 and use POST /repository/{name} to create a new repository.

  1. Set the remote on an existing repo
git remote add origin ssh://gituser@localhost:2222/data/git/repositories/{name}
git push origin main
  1. Check on app

Go to https://localhost:3001 from browser

Run locally

  1. Create folder
sudo mkdir -p /data/git/repositories
  1. Allow user to change folder
sudo chown -R $USER:$USER /data/git/repositories
  1. Run API
dotnet restore
dotnet watch --urls=http://localhost:5001
  1. Run UI

Change API_URL in api.ts.

npm run dev