Skip to content
This repository

Minor edits to Heroku deployment instructions for readability and with a... #42

Merged
merged 1 commit into from about 2 years ago

2 participants

Dave Bolton Ross A. Baker
Dave Bolton

... useful Heroku link.

Ross A. Baker rossabaker merged commit c7ca4d0 into from
Ross A. Baker rossabaker closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 02, 2012
Dave Bolton Minor edits to Heroku deployment instructions for readability and wit…
…h a useful Heroku link.
b99aed2
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 9 additions and 8 deletions. Show diff stats Hide diff stats

  1. 17  src/_10_deployment.md
17  src/_10_deployment.md
Source Rendered
@@ -114,14 +114,14 @@ costs 38MB memory.
114 114
 
115 115
 ### Scalatra on Heroku
116 116
 
117  
-This is pretty easy to get up and running. Only thing you really need to do 
118  
-is start jetty directly, and add a script to execute this. You don't want to 
  117
+This is pretty easy to get up and running. The only thing you really need to do 
  118
+is start Jetty directly, and add a script to execute this. You don't want to 
119 119
 have to rely on SBT to start your application.
120 120
 
121  
-Easiest way to do this is create a Main method to start jetty. See 
122  
-JettyLauncher.scala - save this in your src/main/scala dir, setting the 
123  
-filter to your applications filter. Then use Typesafe's start script plugin 
124  
-to generate a script to start the app.
  121
+The easiest way to do this is create a Main method to start Jetty. See 
  122
+JettyLauncher.scala (listing at bottom of this section) - save this in your 
  123
+src/main/scala dir, setting the filter to your applications filter. Then 
  124
+use Typesafe's start script plugin to generate a script to start the app.
125 125
 
126 126
 To enable the plugin, add the following to project/plugins/build.sbt
127 127
 
@@ -140,11 +140,12 @@ seq(StartScriptPlugin.startScriptForClassesSettings: _*)
140 140
 {pygmentize}
141 141
 
142 142
 Once this is done, you are ready to deploy to Heroku. Create a Procfile in 
143  
-the root if your project containing
  143
+the root of your project containing
144 144
 
145 145
     web: target/start
146 146
 
147  
-Commit your changes to git and make sure you have the heroku gem installed. 
  147
+Commit your changes to git and make sure you have the heroku gem installed 
  148
+(see Heroku's general [Scala instructions](http://devcenter.heroku.com/articles/scala)). 
148 149
 You can then create and push the app.
149 150
 
150 151
     heroku create appname --stack cedar
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.