I hereby claim:
- I am arthur-feral on github.
- I am arthurferal (https://keybase.io/arthurferal) on keybase.
- I have a public key ASDbvvWmkYmun7iQ1X6m979a74xKnXGEOamgT_8WqPQgbwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
APP_NAME="your-app-name-goes-here" | |
APP_PATH=/home/deploy/${APP_NAME} | |
# Production environment | |
export RAILS_ENV="production" | |
# This loads RVM into a shell session. Uncomment if you're using RVM system wide. | |
# [[ -s "/usr/local/lib/rvm" ]] && . "/usr/local/lib/rvm" |
#!/bin/bash -l | |
APP_NAME="rpi_server" | |
APP_PATH=/home/pi/Web/${APP_NAME} | |
GIT_PATH=/home/pi/usbdrv/${APP_NAME}.git | |
# Production environment | |
export RAILS_ENV="production" | |
echo "[DEPLOY] - Updating application working tree" | |
git --work-tree=${APP_PATH} --git-dir=${GIT_PATH} checkout -f |