follow these steps & sections in order. simple easy step by step full tutorial
git clone <https://github.com/link-to-project> ~/projname/
(projname can be any name of ur project)cd projname
to go into that folder (you will work from inside the folder for this whole tutorial)npm install
to install packages needednest get_port
. remember this portserver.js
manually to change the port usednano server.js
(or any other file) to edit the file. exit using ctrl+x
nest caddy add SUBDOMAIN.USERNAME.hackclub.app --proxy localhost:PORT
(replace PORT with the port you got previously, and USERNAME also. you can replace ‘subdomain’ with whatever you want — eg. drawing.orpheus.hackclub.app
)systemctl --user reload caddy
to reload the caddy that u just set upso you don’t have to keep the terminal open all the time.
nano ~/.config/systemd/user/PROJNAME.service
(projname can be whatever you want)