commercetools / commercetools-donut

Store template for subscription based ecommerce business model
Other
11 stars 8 forks source link

commercetools Donut Store

Build Status Heroku

This is not a real donut store. This is a free template for subscription ecommerce sites and it's built on top of the APIs of commercetools platform, Pactas and Paymill.

This template is based on the SPHERE JVM SDK. If you are looking for a regular web-shop template using the SPHERE JVM SDK, please have a look at Sunrise instead.

Live demo

Visit a live demo of SPHERE-DONUT store at iwantdonuts.com.

Getting started

Set it up

Product import

There is a flag named fixtures.import.enabled in the configuration file conf/application.conf, which allows an initial import of the required JSON-based product model into the commercetools-platform. After a successful initial import, this flag can be set to false to improve the startup time of the application.

If you don't perform an initial import, you have to provide the product model (see conf/data) in your platform project, or the application will raise a ProductNotFoundException on application startup.

Configure it

SPHERE.IO data

More about the ecommerce PaaS SPHERE.IO at http://sphere.io.

Pactas keys

More about recurring billing with Pactas at http://www.pactas.com.

PAYMILL keys

More information about doing payments with PAYMILL at http://www.paymill.com.

Deploy it

heroku

To run this SPHERE.IO example web shop on heroku just click the button:

Deploy

Develop it

This app is a Play Framework app and uses the SPHERE JVM SDK.

Have fun!