1
0
Fork 0

Finish up

This commit is contained in:
Andrew Tomaka 2016-03-08 18:35:14 -05:00
parent 91ba3d70de
commit a16346c087
5 changed files with 29 additions and 15 deletions

View file

@ -12,7 +12,9 @@
"let-s-deploy.md", "let-s-deploy.md",
"setup-a-middleware.md", "setup-a-middleware.md",
"setup-a-middleware-for-server.md", "setup-a-middleware-for-server.md",
"setup-a-middleware-for-server-continued.md",
"run-a-web-server.md", "run-a-web-server.md",
"time-for-the-special-sauce.md", "time-for-the-special-sauce.md",
"setup-git-remote.md" "setup-git-remote.md",
"resources.md"
] ]

7
slides/resources.md Normal file
View file

@ -0,0 +1,7 @@
## Resources
* [These slides](https://github.com/atomaka/deploying-rails-app)
* [Sample application](https://github.com/atomaka/jokes-rails)
* [Configuration gist](https://gist.github.com/atomaka/d104019ffe3aa35bcd39)
note:

View file

@ -0,0 +1,17 @@
## Server Middleware (continued)
* Deploy startup files
```
sudo cp puma.conf puma-manager.conf /etc/init
```
* Configure Puma (/etc/puma.conf)
```
/home/app/jokes
```
note:
Put your speaker notes here.
You can see them pressing 's'.

View file

@ -20,16 +20,4 @@ setgid app
export SECRET_KEY_BASE="YOUR_SECRET_KEY_HERE" export SECRET_KEY_BASE="YOUR_SECRET_KEY_HERE"
``` ```
* Deploy startup files
```
sudo cp puma.conf puma-manager.conf /etc/init
```
* Configure Puma (/etc/puma.conf)
```
/home/app/jokes
```
note: note:

View file

@ -9,7 +9,7 @@ end
``` ```
* Configure Puma * Configure Puma
* config/puma.rb from [https://goo.gl/f36vHg](https://goo.gl/f36vHg) * puma.rb from [https://goo.gl/f36vHg](https://goo.gl/f36vHg)
note: note: