Permalink
Browse files

added generators

  • Loading branch information...
1 parent 4453f48 commit 36477ba0849b41ce868489ebdeb1fffe3a66707f @hsbt committed Mar 5, 2012
@@ -0,0 +1,16 @@
+module HerokuScaleScheduler
+ module Generators
+ class InstallGenerator < Rails::Generators::Base
+ source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
+
+ desc <<DESC
+Description:
+ Copies Heroku Scheduler configuration file to your config directory.
+DESC
+
+ def copy_config_file
+ copy_file 'heroku_ps.yml', 'config/heroku_ps.yml'
+ end
+ end
+ end
+end
@@ -0,0 +1,9 @@
+app: example_app
+
+dynos:
+ 900: 2
+ 2200: 1
+
+workers:
+ 900: 1
+ 2200: 0

0 comments on commit 36477ba

Please sign in to comment.