Skip to content

magic31415/whats_hoppin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhatsHoppin

Database Population

We found that hitting the BreweryDB API in the ways we needed on each page load were taking an unacceptably long amount of time. We will leverage scripts/populate-db.exs in a cron job to periodically pull down the brewery and beer data that we need, updating our local database so we can serve these pages faster.

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

About

What's Hoppin Web Development Project

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors