Skip to content

eldoy/waveorb-server

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Waveorb server

Contains a boot script to install all the software needed to run Waveorb apps.

Includes:

  • NodeJS LTS
  • NGINX loadbalancer with HTTP2
  • Automatic Certbot Let's Encrypt SSL
  • Public Key authentication
  • Firewall (UFW)

Made for the Waveorb Web App Development Framework.

Install

Create a server on for example Vultr VPS. Add your SSH key there so you can ssh to it without a password.

Choose Debian 11 as operating system. Enable private networking if you need the machine to be connected to from other machines.

For Debian 10, use the file install_deb10.sh.

Once it's running, log in to your server via SSH (ssh root@ip-address) and run this command:

curl https://raw.githubusercontent.com/eldoy/waveorb-server/master/install.sh | sh

Configuration

You can customize your install by exporting the following variables before you run the install:

# Set the git name
export GIT_CONFIG_NAME="Your name"

# Set the git email
export GIT_CONFIG_EMAIL="your@git.email"

Wildcard domains

Installation of wildcard domains can be done manually like this:

certbot certonly --manual --preferred-challenges=dns --agree-tos --no-eff-email --register-unsafely-without-email -d "example.com" -d "*.example.com"

MIT Licensed. Enjoy!