mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 04:21:36 +00:00
Updated install instructions
Added missing dalli gem to the Gemfile
This commit is contained in:
parent
c9f645bb5c
commit
bf18e54d83
3 changed files with 11 additions and 4 deletions
2
Gemfile
2
Gemfile
|
@ -30,6 +30,8 @@ gem 'will_paginate', git: 'https://github.com/p7r/will_paginate.git', branch: 'r
|
|||
gem 'newrelic_rpm', '~> 3.7.2.195'
|
||||
|
||||
group 'staging', 'production' do
|
||||
gem 'kgio', '~> 2.9.2'
|
||||
gem 'dalli', '~> 2.7.0'
|
||||
gem 'unicorn', '~> 4.8.2'
|
||||
end
|
||||
|
||||
|
|
|
@ -75,6 +75,7 @@ GEM
|
|||
execjs
|
||||
coffee-script-source (1.3.3)
|
||||
columnize (0.3.6)
|
||||
dalli (2.7.0)
|
||||
debugger (1.6.6)
|
||||
columnize (>= 0.3.1)
|
||||
debugger-linecache (~> 1.2.0)
|
||||
|
@ -252,11 +253,13 @@ DEPENDENCIES
|
|||
capybara (~> 2.2.1)
|
||||
carrierwave
|
||||
coffee-rails
|
||||
dalli (~> 2.7.0)
|
||||
dotenv-rails (~> 0.10.0)
|
||||
factory_girl_rails (~> 4.4.1)
|
||||
foreman (~> 0.63.0)
|
||||
gruff
|
||||
jquery-rails
|
||||
kgio (~> 2.9.2)
|
||||
mysql2 (~> 0.3.15)
|
||||
newrelic_rpm (~> 3.7.2.195)
|
||||
nokogiri
|
||||
|
|
10
INSTALL.md
10
INSTALL.md
|
@ -21,9 +21,9 @@ Add the following to `/etc/sudoers` to allow the `deploy` user to manage nginx a
|
|||
deploy ALL=NOPASSWD:START_FOREMAN
|
||||
deploy ALL=NOPASSWD:/etc/init.d/nginx
|
||||
|
||||
## Install MySQL
|
||||
## Install MySQL & Memcached
|
||||
|
||||
sudo apt-get install mysql-server mysql-client libmysqlclient-dev
|
||||
sudo apt-get install mysql-server mysql-client libmysqlclient-dev memcached
|
||||
|
||||
Login to mysql as root, and create the database and user account:
|
||||
|
||||
|
@ -31,11 +31,11 @@ Login to mysql as root, and create the database and user account:
|
|||
CREATE USER 'xxx'@'localhost' IDENTIFIED BY 'xxx';
|
||||
GRANT ALL PRIVILEGES ON ensl.* TO 'xxx'@'localhost' WITH GRANT OPTION;
|
||||
|
||||
## Install rbenv, ruby and bundler
|
||||
## Install rbenv, ruby, bundler and Image Magick
|
||||
|
||||
As root, install dependencies
|
||||
|
||||
sudo apt-get install nginx git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libmysql-ruby libmysqlclient-dev
|
||||
sudo apt-get install nginx git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libmysql-ruby imagemagick libmagickwand-dev
|
||||
|
||||
Switch user to deploy, and install rbenv
|
||||
|
||||
|
@ -58,4 +58,6 @@ Switch user to deploy, and install rbenv
|
|||
|
||||
## Install the ENSL site
|
||||
|
||||
Create the `.env` and `config/database.yml` files with the appropriate credentials.
|
||||
|
||||
mkdir /var/www/virtual/ensl.org/deploy
|
Loading…
Reference in a new issue