- spin up instance with DigitalOcean
- follow: https://coderwall.com/p/yz8cha
- PostgreSQL: http://wiki.ubuntuusers.de/PostgreSQL
- Capistrano: https://github.com/capistrano/capistrano/wiki
-
Website: http://fishshell.com
-
Tutorial: http://fishshell.com/tutorial.html
Install freeTDS (http://freetds.schemamania.org/)
brew install freetds
for OSX
Checkout what's required for Ubuntu.
Install tiny_tds for using freetds on
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# thanks to @rainchen | |
class BaseUploader < CarrierWave::Uploader::Base | |
storage :file | |
after :remove, :delete_empty_upstream_dirs | |
# e.g.: "uploads/venue/photo/000/000/003/thumb_Limoni_-_overall-resized-1.jpg" | |
def store_dir | |
"#{base_store_dir}/#{model_id_partition}" | |
end |
ECommerce Solution based on Ruby on Rails
-
Chef Recipe for users: https://github.com/ccameron/users
-
Zero downtime deploys: https://gist.github.com/czarneckid/4639793