crpack

2.4.3 • Public • Published

Create package

A command line utility that runs the Node.js package as a systemd service via Nginx with a Let's Encrypt certificate.

Requirements

System:

linux + systemd

Dependencies:

node           // >=15.0.0 (used AbortController)
nginx          // latest (for set multi domains)
certbot        // latest (for --ssl option)
cron           // any (for --git option)
curl           // any for --git option)

Additionals:

domain name // with A record that value is IP of target mashine

Instalation

npm i -g crpack

Run

sudo crpack run --trace-warnings

Examples

With ssl

sudo crpack run --ssl

With app port

sudo crpack run --port 3001

Help

crpack -h

More examples

Other

If you encounter problems please post a issue describing the problem.

Package Sidebar

Install

npm i crpack

Weekly Downloads

43

Version

2.4.3

License

MIT

Unpacked Size

63.8 kB

Total Files

12

Last publish

Collaborators

  • kolserdav