-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
47 lines (24 loc) · 674 Bytes
/
README
File metadata and controls
47 lines (24 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Installation
- Install Ruby
- Install Rubygems
- Install Bundler:
gem install bundler
- Install the application
$ bundle
# Run
Start the app:
$ rackup
Then open a browser to:
http://localhost:9292
If you want it to auto-reload your app when files change, use Shotgun:
$ gem install shotgun
$ shotgun myapp.rb
http://stackoverflow.com/questions/1247125/how-to-get-sinatra-to-auto-reload-the-file-after-each-change
# Deploy to Heroku
Deploy to heroku by following this tutorial:
https://devcenter.heroku.com/articles/ruby
# OBSOLETE - Deploy to EC2
Update to latest version from Git:
$ cap deploy:update
Start:
$ cap deploy:start