16 lines
790 B
Markdown
16 lines
790 B
Markdown
# Setting up system for developing for gitea frondend
|
|
* Install go(1.17.7 =>), node.js(16.14 => or latest lts), npm, gcc git, make
|
|
* Clone gitea repo `git clone https://github.com/go-gitea/gitea`
|
|
* Cd into repo folder `cd gitea`
|
|
* Checkout last stable (1.16.2 at this point) `git checkout v1.16.2`
|
|
* 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` |