jc00ke/cookesauction.com

Middleman site for Cooke's Auction Service

★ 0Forks 0ElixirGitHub ↗Compare

README

CookesAuction

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

To send emails:

> mix cookes.email --test # sends the latest past sale to the test list
> mix cookes.email        # sends upcoming sales to the test list
> mix cookes.email --prod # sends upcoming sales to the prod list
> mix cookes.email --note "Adds this note to the top of the email"

To process images:

> mix cookes.images --src ~/path/to/images # defaults to putting processed files in :src/upload
> mix cookes.images --src ~/path/to/images --dest ~/path/to/destination

To insert a sale into the FTS index:

> mix cookes.fts --sale 123 # the sale ID

Learn more

Fly.io

Contributors

jc00ke

Issues