Created
March 17, 2015 16:20
-
-
Save gmgp/67093193e18441f4143b to your computer and use it in GitHub Desktop.
shellycloud iter
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
# 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