Skip to content

brsoff/worldvid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Worldvid

Setup

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

Now you can visit localhost:4000 from your browser.

Development

Seeding data

Create a .env file in the project root with your YouTube Data API key:

export YOUTUBE_API_KEY="yourkey"

Then run the rake reset mix task:

mix ecto.reset

This will drop, create and migrate the database, then perform the seed task.

The seed task will grab the live data from YouTube and takes a minute or so to finish.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published