I am using digital ocean and I could do it through digital ocean as example they gave. However I am wondering could this be done through generic port app?
I haven’t tried this yet myself, but from looking at the DO instructions, I believe all you’d need to do is add the provided script as a Quick Script in Cleavr, and then run on your server.
If you give it a try, let us know if that works or not.
hmmm… I’m not sure what’s going on there. I’ll make some time later to see what’s needed to code server and will post the steps if I’m able to get it to work.
Hi again I thin running it as web-app doesnt work well but as root it did pass, and I updated /root/.config/code-server/config.yaml file with port created by web-app, now it works almost fine.
I am getting:
An unexpected error occurred that requires a reload of this page.
The workbench failed to connect to the server (Error: WebSocket close with status code 1006)
Still trying to figure out what is the problem, maybe missing some stuff.
Now it works fine and I think locking the web-app with specific users is a good thing as well. Also since its run by root user you should be careful who uses it. Could be possibly done with some other user with limitations per foldder being opened.
Anyway if you figure out how to install/start it as custom non root user, would be nice to share and you can use my findings and create some how to setup post on the forum. Pretty sure people would use it a lot. It would be more secure limiting non root user to some folders where they can use editor on.
Why do you use a server management tool like Cleavr to install a development environment?
What I understand about Coder is that you install it with Docker on a VPS and that’s all.
I may be the most hated dev right now, but I hate working directly with docker. Always had problems and loving when I don’t need to use it. I set up the coder and its working well
Why do you use a server management tool like Cleavr to install a development environment? - Why not? Less work for setting up development and could easily share it with other developers instead of setting everything locally or by myself directly on the server.
Navigate to the URL you used when creating the Generic Port App. You’ll first be prompted to login using the password you’ve added when installing code-server. Add in the password and then continue configure your code-server environment.
It is very good in my opinion, you could also add it to the website or make a full script on making it as APP like generic app, nuxt ssr etc. Would be nice to add each separate from Cleavr Documentation but thats up to you.