useable
v0.0.13
Published
very useable self-hosted app deployments
Downloads
32
Readme
useable
Very useable self-hosted app deployments.
Quick Start
Spin up a new server and install useable
with one line:
$ curl -sSL https://cdn.rawgit.com/pqvst/useable/master/bin/get.sh | sudo -E bash -
On your local machine, install useable and add your server:
npm install -g useable
use server http://<name>:<token>@<ip>:<port>
Now you're good to go! Deploy an app like this:
use app ./myapp
Using multiple servers? Easy:
use app ./myapp on prod-fra
use app ./myapp on prod-nyc
use app ./myapp on prod-sin
Manual Installation
- Install docker
- Install nodejs (and npm)
- Install build-essential (optional)
- Install
npm install -g useable
- Run
useable-here
Contribute
- Install docker
- Install node and npm
- Fork this repository to your own GitHub account and then clone it to your local device
- Link the package to the global module directory:
npm link
As always, you can use npm test
to run the tests and see if your changes have broken anything.
Notes
install docker
- curl -sSL https://get.docker.com/ | sh
- the user group thing...
- logout, login
install node
- curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
- sudo apt-get install -y nodejs
- sudo apt-get install -y build-essential
cleanup
- docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) && docker rmi $(docker images -q)
letsencrypt for nginx
- https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04
- http://serverfault.com/questions/768509/lets-encrypt-with-an-nginx-reverse-proxy#