- Create user
deployer
added toroot
andwww-data
groups - Setup github deploy keys. Guide
- Setup rbenv on deployer, install ruby 1.9.3 or 2.0, and bundler
- Install rbenv plugins rbenv-sudo, rbenv-rehash, and rbenv-vars
- Add Environment variables to
rbevn vars
, - Install Nginx
- Comment
# [ -z "$PS1" ] && return
from bashrc, so usingsu - deployer
in an non-interactive shell loadsrbenv
- Fix
locale
problems by adding exportLC_ALL="en_US.UTF-8"
into~/.bashrc
- Use
sudo visudo
append%deployer ALL=(ALL) ALL
for allowing sudo command for group deployer, anddeployer ALL=NOPASSWD: ALL
no password for user deployer
Last active
December 18, 2015 12:39
-
-
Save seifsallam/5784367 to your computer and use it in GitHub Desktop.
asknative server deployment setup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment