Skip to content
This repository was archived by the owner on Apr 3, 2020. It is now read-only.

rsalgado/rumbl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rumbl.Umbrella

Initial setup

Before running the setup make sure to have a apps/rumbl/config/dev.secret.exs file with the Wolfram Alpha API credentials.

Get dependencies:

  1. Download Elixir dependencies
mix deps.get
  1. Download JS dependencies in the rumbl_web app.
cd apps/rumbl_web/assets/
npm install

Setup the database

  1. Go up to the the apps directory and now get into the rumbl app 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

Running the app

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

Running tests

To run the all the tests, execute

mix test

About

Implementation of project from the book Programming Phoenix 1.4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors