What have you found for these years?

2009-11-19

heroku heroku (static file serving)

quite stupid, but.. that's it.

# special branch heroku for heroku specific stuffs
> git checkout -b heroku

# rack static file serving
> echo "use Rack::Static, :urls => ['/']
run lambda{ |dummy_never_called| }" > config.ru

# let's commit
> git add config.ru
> git commit -m '[config.ru] for heroku static file serving'

# start herokuing
> heroku create NAME

# push your heroku branch to heroku remote branch master
> git push heroku heroku:master

# stupid launchy, extra dependency...
> heroku open

0 retries:

Post a Comment

Note: Only a member of this blog may post a comment.



All texts are licensed under CC Attribution 3.0