borodark / guardian_live_oss

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample application demonstraiting permission managment for guardian

To demonstrate capability of guardian fork. The application permissions

  • available at runtime from GenServer state.
  • are loaded from DB at application startup.
  • altered in UI sent to be persisted after GenServer state is updated.

##Up and Running

Create mysql database named app and user 'root'@'%' with password 123. Load initial db dump with tables fro sql directory. The username to login with: io password: password

###Prerequisites

####Elixir

####Erlang

  • Should be installed as part of Elixir install but verify you're using OTP version 20.* (or higher)

####Elm

  • $npm install -g elm
  • $npm install -g elm-format@exp
  • $npm install -g elm-github-install

####Project

  • Clone project
  • $mix deps.get
  • $cd apps/app_ui/
  • $npm install
  • $cd ../..
  • $mix compile
  • $mix elm.dev (this steps may take a few minutes the first time)
  • $./start (or mix phx.server if you're on Windows)

About

License:MIT License


Languages

Language:Elm 69.9%Language:Elixir 17.7%Language:CSS 5.0%Language:Shell 4.6%Language:JavaScript 2.4%Language:HTML 0.3%Language:Makefile 0.2%