# get src & libs
$ git clone https://github.com/msp/cenatus-ltd.git
$ cd cenatus-ltd && mix deps.get
# create and migrate your database
$ mix ecto.create && mix ecto.migrate
# install Node.js dependencies for UI
$ npm install
# start Phoenix endpoint
$ mix phoenix.server
Visit localhost:4000
in your browser.
# local test guard
$ mix test.watch
# start the server
$ iex -S mix phx.server
Heroku based deploys:
$ git remote add production https://git.heroku.com/cenatus-ltd.git
$ git push production master
AWS_ACCESS_KEY_ID=123 AWS_SECRET_ACCESS_KEY=asdf POOL_SIZE=2 mix do app.start, sitemap.generate
- About Cenatus: http://cenatus.org/about
- Elixir: http://elixir-lang.org/install.html
- Phoenix: http://www.phoenixframework.org/