diff --git a/.gitignore b/.gitignore index f6cf82b1e..640b3c1e5 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,4 @@ npm-debug.log /.vagrant *.log +*.sw? diff --git a/README.md b/README.md index 711eedaa5..5e6a9307e 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,30 @@ Do not attempt to use this software until this notice is removed. You have been warned. Check back later :-). + + +# Setup + +* have postgres installed with a super user role `fireguard` + +``` +psql -h localhost -d postgres + +CREATE ROLE fireguard; +``` + +* have elixir installed + +``` +brew install elixir +``` + +setup project + +``` +cd apps/fg_http && mix deps.get && mix ecto.setup +npm install --prefix assets +mix phx.server +``` + +