This repository has been archived on 2024-07-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Gitea-Arc_blue-Theme/ThemeDev.md
2020-12-08 01:32:32 +01:00

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