Skip to content

msp/cenatus-ltd

Repository files navigation

Cenatus

http://cenatus.org

Local setup

# 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.

Test / Develop

# local test guard
$ mix test.watch

# start the server
$ iex -S mix phx.server

Deployment

Heroku based deploys:

Production

$ git remote add production https://git.heroku.com/cenatus-ltd.git

$ git push production master

Sitemap

AWS_ACCESS_KEY_ID=123 AWS_SECRET_ACCESS_KEY=asdf POOL_SIZE=2 mix do app.start, sitemap.generate

Learn more

Project

Tech