Before running the setup make sure to have a apps/rumbl/config/dev.secret.exs file with the Wolfram Alpha API
credentials.
- Download Elixir dependencies
mix deps.get
- Download JS dependencies in the
rumbl_webapp.
cd apps/rumbl_web/assets/
npm install
- Go up to the the
appsdirectory and now get into therumblapp directory. Once there, create the DB.
cd ../../rumbl/
mix ecto.setup # This runs ecto.create, ecto.migrate, run priv/repo/seeds.exs, run priv/repo/backend_seeds.exs
Now that the app is setup and the DB is ready, you can run the Umbrella application or one of the child apps separately. For running the whole app, move to the umbrella app's root, and start the Phoenix server:
mix phx.server
Go to port 4000 or whatever other port the app is setup to run into when in the development environment. You can also run the app in interactive mode with IEx, using:
iex -S mix phx.server
To run the all the tests, execute
mix test