Skip to content
Adam Michel edited this page Aug 11, 2014 · 2 revisions

Application Setup

This guide will cover the application setup of Lemyr. Included are instructions for setting up Capistrano for deployment, using Foreman to export startup scripts, and initial configuration of Lemyr. For more information on setting up the server environment, see our Digital Ocean Setup Guide.

Destination Configuration

  1. If you followed the Digital Ocean Setup Guide you should be able to SSH into the server as the deploy user. Do that.
  2. Run mkdir -p apps/lemyr/{releases,shared}

App Configuration

The following files need to be customized for your environment and updated accordingly. Make a copy of each file and name it as shown, then see each file for instructions on how to configure for your environment.

  • sample.env -> .env
  • config/database.sample.yml -> config/database.yml
  • config/deploy/production.sample.rb -> config/deploy/production.rb

Copy each file from GitHub into the /home/deploy/apps/lemyr/shared/ directory, maintaining the directory structure for each path. Customize and rename accordingly. Do this before the first deploy.

Clone this wiki locally