Skip to content

slickage/ansible-rails-ember-secure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rails/Ember Application Server

This server architecture is built with Vagrant with Ansible provisioning. Stack is as follows:

  • CentOS 7
  • Non-global Ruby/Node
  • Nginx/Unicorn via Unix socket

Development Requirements

  • Homebrew - System package manager
  • Ansible - SSH based provisioner. brew install ansible
  • Vagrant - Script VMs

Usage

  • Edit ./provisioning/ansible/default.yml file.
  • Copy local users' public ssh key to ./provisioning/ansible/roles/app/files/public_keys/
  • vagrant up, or provision to live via hosts file and ansible
  • Edit mina config file - config/deploy.rb in Rails project
  • Make sure the git repository for the project is accessible via the server. (Example: If it's a private repository on GitHub, please setup a deploy user with a read-only access.)
  • From your Rails project, do mina setup and mina deploy

About

Rails/Ember/Nginx + Secure deployment on CentOS 7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages