Simplest static site on Heroku (plain Rack)?
gem 'rack-rewrite', '~> 1.0.0'
require 'rack/rewrite'
use Rack::Rewrite do
rewrite '/favicon.ico', '/images/favicon.ico'
rewrite '/', '/index.html'
end
run Rack::File.new('public')
Comments [0]
gem 'rack-rewrite', '~> 1.0.0'
require 'rack/rewrite'
use Rack::Rewrite do
rewrite '/favicon.ico', '/images/favicon.ico'
rewrite '/', '/index.html'
end
run Rack::File.new('public')
Comments [0]
Either add this to your .git/config
[alias] datetag = !git tag `git name-rev --name-only HEAD`-`date \"+%Y%m%d%H%M\"`
or run it in your project folder to add it to the config for that project:
git config alias.datetag '!git tag `git name-rev --name-only HEAD`-`date "+%Y%m%d%H%M"`'
Then you can just run 'git datetag' to create a new tag to use as a release
Comments [0]
SetEnv RAILS_ENV staging
Comments [0]
An imported post from my old blog. Hopefully the title is self-explantory.
Comments [0]
An imported post from my old blog. Hopefully the title is self-explantory.
Comments [0]
An imported post from my old blog. Hopefully the title is self-explantory.
Comments [0]
An imported post from my old blog. Hopefully the title is self-explantory.
Comments [0]
An imported post from my old blog. Hopefully the title is self-explantory.
Comments [0]
An imported post from my old blog. Hopefully the title is self-explantory.
Comments [0]
An imported post from my old blog. Hopefully the title is self-explantory.
Comments [0]