Skip to content

Instantly share code, notes, and snippets.

@toddp
toddp / rails_website_launch_checklist.md
Last active January 18, 2021 20:09 — forked from jaymiejones86/rails_website_launch_checklist.md
Rails Website Launch Checklist

Ruby on Rails Website Launch Checklist

Copy this gist and customise it to your liking.

  • Run Brakeman and resolve any issues where required
  • Run rails best practices and resolve any warnings
  • Run full test suite and make sure all tests are passing
  • Make sure no dummy email addresses are left in any notification emails (eg contact form)
  • Make sure production assets compile correct (eg files in vendor, etc, compile and are not 404'ing in production environment)
  • If using unicorn in production, make sure deploys are restarting the unicorns

Keybase proof

I hereby claim:

  • I am toddp on github.
  • I am toddp (https://keybase.io/toddp) on keybase.
  • I have a public key ASC-DzLrpFHXlDxvcPJYLKYaqWic2AD2rdSfeiz9FRhO3go

To claim this, I am signing this object:

@toddp
toddp / ffmpeg_install.sh
Last active February 17, 2016 15:14
downloads and compiles ffmpeg and its dependencies
#!/usr/bin/env bash
# builds FFMPEG and its dependencies
# as needed for Serviio
# http://wiki.serviio.org/doku.php?id=build_ffmpeg_linux
echo "include /usr/local/lib/" >> /etc/ld.so.conf
echo 'you may need to reboot, just added include to your ld.so.conf'
ldconfig
@toddp
toddp / serviio-watcher.sh
Created February 9, 2013 19:52
/etc/cron.hourly/serviio-watcher.sh
#!/bin/bash
#make-run.sh
#make sure a process is always running.
export DISPLAY=:0 #needed if you are running a simple gui app.
process=serviio.MediaServer
makerun="/home/toddp/dist/serviio-1.1/bin/serviio.sh"
if ps ax | grep -v grep | grep $process > /dev/null
@toddp
toddp / transmission-daemon.sh
Created February 9, 2013 19:50
/etc/init.d/transmission-daemon.sh
#!/bin/sh -e
### BEGIN INIT INFO
# Provides: transmission-daemon
# Required-Start: $local_fs $remote_fs $network
# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start or stop the transmission-daemon.
### END INIT INFO
1)
ActionView::TemplateError in '/reviews/show.html.erb should render attributes in <p>'
undefined local variable or method `edit_object_url' for #<ActionView::Base:0x26ddf4c>
On line #11 of app/views/reviews/show.html.erb
8: <%=h @review.status %>
9: </p>
10:
11: <%= link_to 'Edit', edit_object_url %>