mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-25 03:50:53 +00:00
Bump docs & build config ruby versions
This commit is contained in:
parent
7804545c89
commit
73ac7d589b
2 changed files with 7 additions and 7 deletions
|
@ -5,7 +5,7 @@ addons:
|
||||||
code_climate:
|
code_climate:
|
||||||
repo_token: b3db5b7df9a0a1d0fd3503e72d7431ffbfa172492c2840d590ccb2fafd9172d3
|
repo_token: b3db5b7df9a0a1d0fd3503e72d7431ffbfa172492c2840d590ccb2fafd9172d3
|
||||||
rvm:
|
rvm:
|
||||||
- 2.1.2
|
- 2.1.3
|
||||||
env:
|
env:
|
||||||
- MYSQL_USERNAME=travis
|
- MYSQL_USERNAME=travis
|
||||||
- APP_SECRET=2d3a08dfea079fe45bcb7f830b010eda
|
- APP_SECRET=2d3a08dfea079fe45bcb7f830b010eda
|
||||||
|
|
12
INSTALL.md
12
INSTALL.md
|
@ -1,4 +1,4 @@
|
||||||
# Production Install (Ubuntu 13.10 x64 or Debian 7)
|
# Production Install (Ubuntu 14.04 x64 or Debian 7)
|
||||||
|
|
||||||
## Capistrano setup
|
## Capistrano setup
|
||||||
|
|
||||||
|
@ -49,20 +49,20 @@ Switch user to deploy, and install rbenv
|
||||||
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
|
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
|
||||||
exec $SHELL
|
exec $SHELL
|
||||||
|
|
||||||
rbenv install 2.1.1
|
rbenv install 2.1.3
|
||||||
rbenv global 2.1.1
|
rbenv global 2.1.3
|
||||||
|
|
||||||
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
|
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
|
||||||
gem install bundler
|
gem install bundler
|
||||||
|
|
||||||
## Install the ENSL site
|
## Install the ENSL site
|
||||||
|
|
||||||
Create the `.env` file with the appropriate credentials.
|
Create the `.env` file by copying `.env.example` with the appropriate credentials.
|
||||||
|
|
||||||
touch /var/www/virtual/ensl.org/deploy/shared/.env
|
cp /var/www/virtual/ensl.org/deploy/shared/.env.example /var/www/virtual/ensl.org/deploy/shared/.env
|
||||||
|
|
||||||
# Deployment
|
# Deployment
|
||||||
|
|
||||||
Use capistrano to deploy:
|
Use capistrano to deploy:
|
||||||
|
|
||||||
bundle exec cap production deploy
|
bundle exec cap production deploy
|
||||||
|
|
Loading…
Reference in a new issue