KarmaWerks
Checklist and Prerequisites:
- Elixir 1.10.x
- Docker (Or the latest version of DGraph)
- Node and NPM
To start your Phoenix server:
- Install and run Dgraph from
https://dgraph.io/downloads
- Setup the project with
mix setup
- Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000
from your browser.
Running the tests:
Tests use separate Dgraph container. Before running the tests, start it by . scripts/start_dgraph.sh
. Stop it with . scripts/stop_dgraph.sh
. Run the tests with the command DGRAPH_PORT=19080 mix test
Note that it removes the container when it exits. In case of port conflicts, set DGRAPH_PORT
to the GRPC-external
mapped port (default is 9080) before running any mix
commands.
Technologies Used <3
- Elixir: http://elixir-lang.org/
- Phoenix: https://www.phoenixframework.org/
- Dgraph: https://dgraph.io/
- Bulma: https://bulma.io/