Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.13 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.13 KB

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