-
Notifications
You must be signed in to change notification settings - Fork 1
Website Launch Checklist
Dylan Fisher edited this page Apr 17, 2023
·
12 revisions
- Remove HTTP Authentication from ApplicationController if present
- Confirm HTTPS is enabled
- Confirm 404 pages exist
- Confirm analytics are installed
- Double check markdown class is applied to appropriate places
- Double check ENV variables are appropriate for production environment. Action Mailer hosts, asset host, etc.
- Redirect staging domain name to production
- Search for "TODO" and confirm there's nothing left to do
- Search for
console.log
and make sure nothing unintentional is left
# Place at the top of routes.rb to redirect staging domain to production
constraints host: /example.herokuapp.com/ do
match "/(*path)" => redirect { |params| "https://www.example.com/#{params[:path]}" }, via: [:get]
end