I have been working with ruby on rails recently and wanted to make a cheat sheet for all the command lines that need to be ran in order for me to get my development environment up and running. To run your server of course is rails s and to run console is rails c. I am using a background task gem called resque that requires redis to be ran and a rake task to be ran as well. The last thing I have to run is another rake task that handles delaying a worker for me. This uses resque delayed. Hope this helps you guys!

Run redis Server
redis-server /usr/local/etc/redis.conf
add /resque to the end of the url to view dashboard

Run Resque Delayed Rake
LOGGING=1 INTERVAL=10 rake resque_delayed:work

Run Resque Scheduler

Run Resque Rake Task
rake resque:work QUEUE=’*’

Run Rails Server
Rails s
Rails c

Postgres start database
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start

ultrahook stripe http://localhost:3000/stripewebhook