Skip to content

iayori/edwb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elixir + Dynamo Working Build Setup

This gets the most current and stable Elixir + Dynamo build with all dependencies.

By stable, we mean a stable working pair with all dependencies. It may not be what is labeled stable from those projects, but instead will be as current as possible though it will unlikely be HEAD.

The setup currently uses Chef to manage the installs.

Installation to Your Local System

Install the pre-requisites

OS X:

  1. Install Build tools

Quick Install

curl -fsSL https://raw.github.com/clutchanalytics/edwb/master/install.sh | bash -s

Slightly Longer Install

Get the repository:

git clone https://github.com/clutchanalytics/edwb.git

Install

  cd edwb
  # Edit recipe.rb to customize the build
  ./install.sh

Installing on a VM via Vagrant

Install the following if needed:

Get the repository:

git clone https://github.com/clutchanalytics/edwb.git

Install

  cd edwb
  ./install.sh -vm

This builds the VM, installs and runs Elixir + Dynamo (above) on the VM.

Create first app and test!

If you have not restarted your shell then type . ~/.bash_profile to load the environment info -- this happens automatically when you start new shells.

Now create an app, get deps, and start up the dynamo server:

mix dynamo /tmp/mydynamo
cd /tmp/mydynamo
sed -ibak "s/elixir-lang\/dynamo/clutchanalytics\/dynamo/" mix.exs
mix do deps.get
mix server

Open http://localhost:4000/


Author

Current Authors:

Originally based on work from

Contributions

Submit a pull request

Copyright

Copyright (c) 2013 Clutch Analytics, MIT LICENSE

About

Elixir Dynamo Working Builds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 62.4%
  • Shell 37.6%