Skip to content

knewter/phoenix_commerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhoenixCommerce

This is a Phoenix-based e-commerce application being built as a series for ElixirSips.

Development

To start your Phoenix app:

  1. Install dependencies with mix deps.get
  2. Create and migrate your database with mix ecto.create && mix ecto.migrate
  3. Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.

Tests

The tests are heavily focused on acceptance-tests that drive a browser. Consequently, you need to run a webdriver for them to connect to. At present they expect phantomjs, so run it in another terminal session with:

phantomjs --wd

Then you can run the tests with:

mix test

Production

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

Learn more