npm i -g pnpm # install pnpm globallygit clone https://github.com/kwaroran/RisuAI.git # clone risucd RisuAI # cd into the risu foldergit describe --tags --abbrev=0 origin/main # list out the most recent release versiongit switch --detach $(git describe --tags --abbrev=0 origin/main)# switches from "main" to the most recent risu release versionpnpm i # install depspnpm run build # buildpnpm run runserver # runs risu on http://localhost:6001
Two quick convenience scripts you can put in your risu folder for later:
# update.sh or update.batgit fetch --tags && git switch --detach $(git describe --tags --abbrev=0 origin/main)# basically git pulls and then switches to the most recent release tagpnpm i # ensures deps are up to datepnpm run build # rebuilds risu