- Create user
deployeradded torootandwww-datagroups - 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" ] && returnfrom bashrc, so usingsu - deployerin an non-interactive shell loadsrbenv - Fix
localeproblems by adding exportLC_ALL="en_US.UTF-8"into~/.bashrc - Use
sudo visudoappend%deployer ALL=(ALL) ALLfor allowing sudo command for group deployer, anddeployer ALL=NOPASSWD: ALLno 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