1
0
Fork 0

Quick runthrough of updates

This commit is contained in:
Andrew Tomaka 2016-03-08 21:32:57 -05:00
parent a16346c087
commit 26af951e1f
15 changed files with 25 additions and 15 deletions

View File

@ -8,5 +8,4 @@ bundle exec rake db:migrate
```
note:
Put your speaker notes here.
You can see them pressing 's'.
- source: https://github.com/atomaka/jokes-rails

View File

@ -10,5 +10,5 @@
* Choose a hostname
note:
Put your speaker notes here.
You can see them pressing 's'.
- create A record after if you want it to be permanant or add a hosts entry
to /etc/hosts to make it easier to find for yourself

View File

@ -5,3 +5,5 @@
* script that completes tasks
note:
- Hooks run based on events in git. Many others are useful like pre-commit for
running linters

View File

@ -7,6 +7,7 @@
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
```
@ -19,3 +20,4 @@ gem install bundler
```
note:
- rbenv vs rvm vs chruby: pick whichever you want

View File

@ -16,5 +16,6 @@
"run-a-web-server.md",
"time-for-the-special-sauce.md",
"setup-git-remote.md",
"viola.md",
"resources.md"
]
]

View File

@ -18,3 +18,4 @@ chsh app -s /bin/bash
```
note:
- Packages can be found by Gooleing for ubuntu ruby rails packages

View File

@ -16,3 +16,4 @@ gem 'therubyracer', platforms: :ruby
```
note:
- Or use nodejs

View File

@ -1,7 +1,9 @@
## 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)
* This presentation
* [Slides](https://github.com/atomaka/deploying-rails-app)
* [Sample application](https://github.com/atomaka/jokes-rails)
* [Configuration gist](https://gist.github.com/atomaka/d104019ffe3aa35bcd39)
* [How To Deploy a Rails App with Git Hooks on Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-git-hooks-on-ubuntu-14-04?utm_content=bufferacb29&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer)
note:

View File

@ -10,5 +10,3 @@ apt-get install nginx
* default from [https://goo.gl/f36vHg](https://goo.gl/f36vHg)
note:
Put your speaker notes here.
You can see them pressing 's'.

View File

@ -13,5 +13,3 @@ sudo cp puma.conf puma-manager.conf /etc/init
```
note:
Put your speaker notes here.
You can see them pressing 's'.

View File

@ -21,3 +21,5 @@ export SECRET_KEY_BASE="YOUR_SECRET_KEY_HERE"
```
note:
- Key can be generated with rake:
- bundle exec secret

View File

@ -13,5 +13,3 @@ end
note:
Put your speaker notes here.
You can see them pressing 's'.

View File

@ -20,4 +20,6 @@ sudo sh -c 'echo "app ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/90-app'
note:
- What github does when you create a new repository
- Probably should restrict sudo
- Should definitely restrict sudo. Just add commands necessary after.
- service puma-manager restart
- service nginx restart

1
slides/viola.md Normal file
View File

@ -0,0 +1 @@
# Viola!

View File

@ -7,3 +7,6 @@ A service for deploying applications
* `git push heroku master`
note:
- Heroku is a little pricey
- Heroku is not as flexible
- Heroku IS less complicated