Skip to content

AVGP/eternity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eternity

Very simple, git-based Node.js deployment based on GitReceive and Forever

#How to use

  1. To set up your repo for deployment do git remote add server git@YOURSERVER:your_repo.git
  2. To deploy do a git push server

Enjoy!

#Simple setup (recommended) In a terminal with root access, run

curl https://raw.github.com/AVGP/eternity/master/bootstrap.sh | bash

Manual setup

First, you need to install GitReceive. Make sure you ran the gitreceive init.

Replace the /home/git/receiver with receiver from this repository.

Create a repository directory at /var/repos and change the owner to git:

$ mkdir /var/repos
$ chown -R git:git /var/repos

Users need to copy their public key to the server:

$ cat ~/.ssh/id_rsa.pub | ssh you@yourserver.com "sudo gitreceive upload-key <username>"

Clone this repository into /home/git and run ``npm install`.

About

Heroku-style deployment based on GitReceive and Forever

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published