Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

nilsding/ass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Application Starting Service™

WTF is ASS?

ASS is the Application Starting Service. It provides a web interface to (re)start and stop an application whenever you want. It also has (basic) support for Git repositories, so you can pull from remote and switch between branches easily.

We're using it to start and stop the Retrospring development session.

Installation

Production

$ bundle install --without development
$ cp config.yml.example config.yml
$ vi config.yml
$ ./app.rb -e production -p PORT

Example nginx config

server {
  listen 80;
  # change ass.local to your FQDN
  server_name ass.local;
  location / {
    proxy_set_header  X-Real-IP  $remote_addr;
    proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_max_temp_file_size 0;

    proxy_pass http://127.0.0.1:PORT;
    break;
  }
}

Development

$ bundle install
$ cp config.yml.example config.yml
$ vi config.yml
$ ./app.rb

License

MIT