9 ms·
I know this will be a dumb question but does one sit it up? I am used to creating "web application" and running it on a web server of some sort: Apache / IIS
by ThinkBeat 5y ago
I know this will be a dumb question but does one sit it up?
I am used to creating "web application" and running it on a
web server of some sort: Apache / IIS /Lite.
In this perspective the web server or what not handles a lot of the complexity,
thread pools, isolation, restarting, logging etc etc.
I frequently see applications like this that is "one binary" and you run it by starting it on the command line.
That is easy , no worries.
But how to handle running it "in production", were I want to ensure that it is up and running all the time?
If I wanted to put this on my VPS and share it with the net, what steps do I need to take?
systemd?
(k8s I really hope not)
- the_qbit 5y agowiddler is meant to be more of a private wiki. if you want to share a specific tiddlywiki with the world it's as easy as copying the html file to a webserver - it will then be static content (users can edit it locally, but the changes won't be sent back up to the server). My current use case is: running on a vps and exposing a password protected space for me to jot down various things.
- ThinkBeat 5y agoHow do you handle if it goes down? How are you executing it, or with what? At the very basic level you can SSH, and type in the command. Bobs your uncle. Then unless you something it shuts down when you end your session. You can just set it to execute in the background with basic sh or something like tmux. Or do you set it up in systemd to be watched and restarted if something goes wrong?