Skip to content
This repository has been archived by the owner. It is now read-only.
Deploy node.js application using Shipit (tutorial).
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Gruntfile.js
README.md
index.js
package.json

README.md

hello-world

Demo project for Shipit tutorial.

Set up remote server

Create the remote user:

useradd deploy -m

Enable ssh with our authorized key:

mkdir /home/deploy/.ssh
cat my_id_rsa.pub >> /home/deploy/.ssh/authorized_keys
chown -R deploy:deploy /home/deploy/.ssh
chmod 700 /home/deploy/.ssh
chmod 600 /home/deploy/.ssh/authorized_keys

Create the deploy directory:

mkdir -p /usr/src/hello-world
chown deploy:deploy /usr/src/hello-world
You can’t perform that action at this time.