784 B
784 B
Setting up system for developing for gitea frondend
- Install go(1.15 =>), node.js(10.13 => or latest lts), npm, git, make
- Clone gitea repo
git clone https://github.com/go-gitea/gitea - Cd into repo folder
cd gitea - Checkout last stable (1.13.0 at this point)
git checkout v1.13.0 - Build backend run:
TAGS="sqlite sqlite_unlock_notify" make backend
Developing for gitea frondend
- Open a seperate terminal (since this proces needs to keep running)
- Cd into repo folder
cd gitea - Building continuously by running
make watch-frontend
Note: if you create a new file, quit the make process and restart it - Open another terminal (since the backend proces also needs to keep running)
- Cd into repo folder
cd gitea - Start gitea backend server
./gitea web