Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Installation::rest interface

ShellFu edited this page Nov 3, 2013 · 3 revisions

~$ automaton rest interface installation

Before continuing be sure you have already completed the command-line interface installation instructions.

Create Directories & Set Permissions
[shellfu@automaton automaton]$ sudo mkdir /var/run/automaton/
[shellfu@automaton automaton]$ sudo chown -R puppet:puppet /var/run/automaton/
Configure Nginx & Unicorn, and Link config.ru
[shellfu@automaton automaton]$ sudo cp rack/14567_automaton.conf /etc/nginx/conf.d/
[shellfu@automaton automaton]$ sudo vim /etc/nginx/conf.d/14567_automaton.conf
[shellfu@automaton automaton]$ vim rack/automaton.conf
[shellfu@automaton automaton]$ ln -s /opt/automaton/rack/config.ru /opt/automaton/config.ru
Reload Nginx & Load Automaton
[shellfu@automaton automaton]$ sudo service nginx reload
[shellfu@automaton automaton]$ bundle exec unicorn -c ./rack/automaton.conf

Clone this wiki locally