Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 634 Bytes

INSTALL-ubuntu.md

File metadata and controls

28 lines (18 loc) · 634 Bytes

Writings Installation on Ubuntu 12.04

Install Ruby 2.0 by rvm or rbenv.

Development Environment

sudo apt-get install mongodb memcached redis-server pandoc imagemagick

git clone https://github.com/chloerei/writings.git
cd writings
bundle

cp config/app_config.yml.example config/app_config.yml
cp config/mongoid.yml.example config/mongoid.yml

rails s

# run in separate terminals
sidekiq # delay jobs
guard start # live-reload

Production Environment

Generate a new secret_key_base string in config/app_config.yml.

An example deploy script in config/deploy.rb (for passenger), edit it for your situation.