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.
Visit a live demo of SPHERE-DONUT store at iwantdonuts.com.
sbt run
command in root project directory.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.
Developers -> API Clients
to retrieve your project data.
sphere.project
, sphere.clientId
and sphere.clientSecret
in conf/application.conf
.More about the ecommerce PaaS SPHERE.IO at http://sphere.io.
Settings -> Pactas Apps -> My Apps
and create a new OAuth client. Make sure to select "Confidential" for the client type.
pactas.clientId
and pactas.clientSecret
in conf/application.conf
.More about recurring billing with Pactas at http://www.pactas.com.
PAYMILL Dashboard -> Development -> API keys
to retrieve your keys.Settings -> Payment Settings -> Payment Providers
and edit the Paymill settings. Enter your public and private PAYMILL keys and hit 'Save'.
More information about doing payments with PAYMILL at http://www.paymill.com.
To run this SPHERE.IO example web shop on heroku just click the button:
sbt clean test
command in root project directory for compiling and testing it.This app is a Play Framework app and uses the SPHERE JVM SDK.
Have fun!