Skip to content

Instantly share code, notes, and snippets.

View Morxander's full-sized avatar

Morad Edwar Morxander

View GitHub Profile
@danchoi
danchoi / deploy.sh
Last active June 8, 2022 17:41
Simple Rails deploy bash script
#!/bin/bash
# deploy.sh
# Put this script on your production server and make it executable with chmod
# +x.
# Set the deploy_dir variable to the path on the production server to
# deployment directory. The script assumes the deployment directory is a git
# clone of the codebase from an upstream git repo. This script also assumes