0.4.0 • Published 4 years ago

sverd v0.4.0

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

Sverd

This tool installs Debian 10 servers on Vultr.com with Nginx, node, npm, letsencrypt, zsh, firewall (ufw), mongodb, and waveorb.

Static files are handled by Nginx, which has support for asset caching, brotli compression, https and http2. All processes are handled by systemd.

You also get scripts to manage deployment of apps and server updates.

Configuration

Create a file called sverd.json in your app directory. Add you SSH public key to your Vultr account and replace the ssh field with your ssh script id.

Finally, replace api in the config file with your Vultr API key.

{
  "domain": "waveorb.com",
  "label": "waveorb",
  "hostname": "waveorb",
  "api": "VULTR_API_KEY",
  "os": 352,
  "region": 7,
  "plan": 201,
  "ssh": "5ba4f7cab05d7",
  "desc": "Waveorb server",
  "names": "waveorb.com www.waveorb.com",
  "dir": "/var/www/waveorb",
  "exec": "server-linux",
  "pass": "http://localhost",
  "port": 4000,
  "cert": "/etc/letsencrypt/live/waveorb.com/fullchain.pem",
  "key": "/etc/letsencrypt/live/waveorb.com/privkey.pem",
  "certopt": "--dry-run",
  "email": "hello@waveorb.com",
  "domains": [
    "waveorb.com",
    "www.waveorb.com"
  ]
}

After running the boot script, the IP address of your server will be stored in your sverd.json config file.

Usage

# Boot server on Vultr
sverd boot

# Install software
sverd install

# Update server
sverd update

# Deploy app
sverd deploy

ISC licensed. Enjoy!

0.4.0

4 years ago

0.3.0

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago