Finish up
This commit is contained in:
parent
91ba3d70de
commit
a16346c087
5 changed files with 29 additions and 15 deletions
|
@ -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
7
slides/resources.md
Normal 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:
|
17
slides/setup-a-middleware-for-server-continued.md
Normal file
17
slides/setup-a-middleware-for-server-continued.md
Normal 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'.
|
|
@ -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:
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
|
|
||||||
```
|
```
|
||||||
group :production do
|
group :production do
|
||||||
gem 'puma'
|
gem 'puma'
|
||||||
end
|
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:
|
||||||
|
|
Loading…
Reference in a new issue