Skip to content

renanpvaz/nfl-rushing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NflRushing

Running the project with docker:

  • Build the images and setup the db with docker-compose run --rm phoenix mix ecto.setup
  • Start the services with docker-compose up

Running manually using a local Postgres instance:

  • Update config/dev.exs
config :nfl_rushing, NflRushing.Repo,
   username: "postgres",
   password: "postgres",
-  hostname: "db",
+  hostname: "localhost",
   database: "nfl_rushing_dev",
  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

About

My first Phoenix app!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published