You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
provs/doc/GoForgejo_install.md

888 B

Go / forgejo Installation and Testing

go install/update

remove old version

sudo rm -rf ~/go

download latest version and configure

curl -OL https://go.dev/dl/go1.21.3.linux-amd64.tar.gz

extract latest version to ~/go

tar -C ~ -xzf go*.linux-amd64.tar.gz

append path

(meissa) jem@meissa-ide-2023:~$ cat .bashrc.d/go.sh
PATH=$PATH:$HOME/go/bin
export PATH

VScode optional - TODO!?!

"Go for VS Code v0.39.1"

Testing forgejo

full: make test

require node: make test-frontend

require go: make test-backend

#nvm - required to build forgejo frontend sudo apt remove nodejs sudo apt autoremove

adapt version to latest: curl o https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash nvm install

optional: nvm alias default "latest"

forgejo build

TAGS="bindata" make build -> include make frontend & make backend //see details Makefile