Install devise. Edit development.rb to include action_mailer default url.
Generate devise User.
Generate Order model.
Generate product model. Edit schema for decimal price and image array. Edit order schema for decimal price.
Generate line_item model.