diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cde2416 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +tmp/ +log/thin.log +*.swp diff --git a/config.ru b/config.ru new file mode 100644 index 0000000..b60cedc --- /dev/null +++ b/config.ru @@ -0,0 +1,3 @@ +require File.expand_path '../main.rb', __FILE__ + +run Sinatra::Application diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..840cd93 --- /dev/null +++ b/config.yml @@ -0,0 +1,17 @@ +--- +chdir: "/home/pi/led-hands-pri" +rackup: "/home/pi/led-hands-pri/config.ru" +user: pi +group: pi +environment: development +address: 0.0.0.0 +port: 3000 +timeout: 30 +log: "/home/pi/led-hands-pri/log/thin.log" +pid: tmp/pids/thin.pid +max_conns: 1024 +max_persistent_conns: 100 +require: [] +wait: 30 +threadpool_size: 20 +daemonize: true diff --git a/log/.keep b/log/.keep new file mode 100644 index 0000000..e69de29