mirror of
https://codeberg.org/teddit/teddit
synced 2025-02-16 20:20:36 +01:00
Merge pull request 'tweak: Add documentation to daemonize process' (#354) from NunoSempere/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/354
This commit is contained in:
commit
6fa109e6ff
16
README.md
16
README.md
@ -193,4 +193,18 @@ The following variables may be set to customize your deployment at runtime.
|
||||
npm start
|
||||
```
|
||||
|
||||
Teddit should now be running at <http://localhost:8080>.
|
||||
Teddit should now be running at <http://localhost:8080>.
|
||||
|
||||
You can also run teddit from a process manager like [pm2](https://www.npmjs.com/package/pm2):
|
||||
|
||||
```
|
||||
## To run:
|
||||
npm install pm2 -g
|
||||
pm2 start app.js
|
||||
|
||||
## To run on startup:
|
||||
pm2 startup
|
||||
pm2 save
|
||||
```
|
||||
|
||||
See also the [pm2 instructions for running a project on startup](https://pm2.keymetrics.io/docs/usage/startup/), and in particular the section on waiting for your machine to connect to its network.
|
||||
|
Loading…
x
Reference in New Issue
Block a user