https://devcenter.heroku.com/articles/custom-domains http://thenomadicfreelancer.blogspot.com/2012/08/pointing-godaddy-domain-to-your-heroku.html
For each custom subdomain use domains:add
in the Terminal.
# This demonstrates how we create a SEO friendly url for the previews of the artworks we sell. | |
# | |
# This is the URL we want: | |
# https://festalab.com.br/image/invitation/birthday/carnival.jpg | |
# | |
# First, the route. | |
# | |
# "model" is the name of the active storage model that has the preview. | |
# "classification" and "identifier" are together a unique key for the records. |
ruby '2.7.1' | |
gem 'rails', github: 'rails/rails' | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# Action Text | |
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
gem 'okra', github: 'basecamp/okra' | |
# Drivers |
#!/usr/bin/env sh | |
# Multiple vulnerabilities have been disclosed in RubyGems: | |
# https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/ | |
# | |
# And again in March 2019: | |
# https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html | |
# | |
# If you're an Rbenv user, here's any easy one-liner to upgrade to a | |
# safe version of Rubygems (2.7.8 / 3.0.3 or later) for each installed Ruby version: |
brew tap homebrew/versions | |
brew install v8-315 | |
gem install libv8 -v '3.16.14.13' -- --with-system-v8 | |
gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315 | |
bundle install |
https://devcenter.heroku.com/articles/custom-domains http://thenomadicfreelancer.blogspot.com/2012/08/pointing-godaddy-domain-to-your-heroku.html
For each custom subdomain use domains:add
in the Terminal.
bash <(curl -s https://gist.github.com/phlco/8358292/raw/b6e4df4efc7b7973cb5566e89c57672380062074/uninstalls.sh)ds
brew doctor
and resolve any warnings or errors that come up before moving on.
brew install git rbenv ruby-build rbenv-gem-rehash postgres
jQuery(document).ready(function() { | |
/* | |
Snippet from http://stackoverflow.com/a/5918791 | |
*/ | |
navigator.sayswho = (function(){ | |
var N= navigator.appName, ua= navigator.userAgent, tem; | |
var M= ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); | |
if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1]; |
input { | |
height: 34px; | |
width: 100%; | |
border-radius: 3px; | |
border: 1px solid transparent; | |
border-top: none; | |
border-bottom: 1px solid #DDD; | |
box-shadow: inset 0 1px 2px rgba(0,0,0,.39), 0 -1px 1px #FFF, 0 1px 0 #FFF; | |
} |