Moved deployment configuration files and changed the repository

Update ruby to 2.2.3

Dominik Sander 9 years ago
parent
commit
1361c5693b
4 changed files with 6 additions and 8 deletions
  1. 0 0
      deployment/logrotate/huginn
  2. 0 0
      deployment/nginx/huginn
  3. 0 0
      deployment/nginx/huginn-ssl
  4. 6 8
      doc/manual/installation.md

lib/support/logrotate/huginn → deployment/logrotate/huginn


lib/support/nginx/huginn → deployment/nginx/huginn


lib/support/nginx/huginn-ssl → deployment/nginx/huginn-ssl


+ 6 - 8
doc/manual/installation.md

@@ -65,8 +65,8 @@ Remove the old Ruby versions if present:
65 65
 Download Ruby and compile it:
66 66
 
67 67
     mkdir /tmp/ruby && cd /tmp/ruby
68
-    curl -L --progress http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.bz2 | tar xj
69
-    cd ruby-2.2.2
68
+    curl -L --progress http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.bz2 | tar xj
69
+    cd ruby-2.2.3
70 70
     ./configure --disable-install-rdoc
71 71
     make -j`nproc`
72 72
     sudo make install
@@ -142,9 +142,7 @@ You are done installing the database and can go back to the rest of the installa
142 142
     cd /home/huginn
143 143
 
144 144
     # Clone Huginn repository
145
-    #sudo -u huginn -H git clone https://github.com/cantino/huginn.git -b master huginn
146
-    # **FIXME**
147
-    sudo -u huginn -H git clone https://github.com/dsander/huginn.git -b deployment-guide huginn
145
+    sudo -u huginn -H git clone https://github.com/cantino/huginn.git -b master huginn
148 146
 
149 147
     # Go to Huginn installation folder
150 148
     cd /home/huginn/huginn
@@ -251,7 +249,7 @@ Export the init scripts:
251 249
 
252 250
 ### Setup Logrotate
253 251
 
254
-    sudo cp lib/support/logrotate/huginn /etc/logrotate.d/huginn
252
+    sudo cp deployment/logrotate/huginn /etc/logrotate.d/huginn
255 253
 
256 254
 
257 255
 ### Ensure Your Huginn Instance Is Running
@@ -270,7 +268,7 @@ Export the init scripts:
270 268
 
271 269
 Copy the example site config:
272 270
 
273
-    sudo cp lib/support/nginx/huginn /etc/nginx/sites-available/huginn
271
+    sudo cp deployment/nginx/huginn /etc/nginx/sites-available/huginn
274 272
     sudo ln -s /etc/nginx/sites-available/huginn /etc/nginx/sites-enabled/huginn
275 273
 
276 274
 Make sure to edit the config file to match your setup, if you are running multiple nginx sites remove the `default_server` argument from the `listen` directives:
@@ -324,7 +322,7 @@ To use Huginn with HTTPS:
324 322
 1. In `.env`:
325 323
     1. Set the `FORCE_SSL` option to `true`.
326 324
 1. Use the `huginn-ssl` Nginx example config instead of the `huginn` config:
327
-    1. `sudo cp lib/support/nginx/huginn-ssl /etc/nginx/sites-available/huginn`
325
+    1. `sudo cp deployment/nginx/huginn-ssl /etc/nginx/sites-available/huginn`
328 326
     1. Update `YOUR_SERVER_FQDN`.
329 327
     1. Update `ssl_certificate` and `ssl_certificate_key`.
330 328
     1. Review the configuration file and consider applying other security and performance enhancing features.