Skip to content

Instantly share code, notes, and snippets.

@gmgp
Created March 17, 2015 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmgp/67093193e18441f4143b to your computer and use it in GitHub Desktop.
Save gmgp/67093193e18441f4143b to your computer and use it in GitHub Desktop.
shellycloud iter
# after gems
bundle exec shelly add -o <name organitation>
# Edit cloudfile
# push edit
git push shelly master
# import production db
shelly backup import postgresql dump.sql --reset
# In case of Paperclip create a file with the following content:
cat > config/deploy/shelly/before_restart << EOL
mkdir -p disk/system
ln -s ../disk/system public/system
EOL
# to upload static content whit rsync
cd public
shelly file upload system / --cloud <name_cloud>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment