whyi / gallery

An open source, single page art gallery app written in Ruby on Rails and Angular.js
2 stars 0 forks source link

Dev Environment Setup On Windows

Setup

Database

  rake db:create
  rake db:reset
  rake db:migrate
  rake db:seed

Test

Release

Assets path

.htaccess for Passenger Phusion (or maybe Bluehost-specific thing)

<IfModule mod_passenger.c>
RewriteEngine On
RewriteBase /SUB_URI
Options -MultiViews
PassengerResolveSymlinksInDocumentRoot on
#Set this to whatever environment you'll be running in
RailsEnv production
RackBaseURI /SUB_URI
PassengerAppRoot THE_ABSOLUTE_PATH_OF_THE_APP
SetEnv GEM_HOME THE_ABSOLUTE_PATH_OF_THE_LOCAL_GEM_DIRECTORY
</IfModule>