🚫 This shop template is deprecated!
_This shop template is no longer maintained nor up to date, built on the deprecated SPHERE Play SDK. Please use Sunrise instead, the shop template for the new SPHERE JVM SDK.
This is a fully functional example web store for the SPHERE.IO PaaS.
Visit a live demo of SPHERE.io snowflake store at snowflake.sphere.io.
- Install at least JDK 6 on your machine. We recommend using JDK 7.
- Clone sphere-snowflake project from GitHub. or download it as zip file.
- Run
./sbt run
orsbt.bat run
(Windows) command in root project directory. - Open your browser and point it to http://localhost:9000.
- Point to SPHERE Login or register a new account with SPHERE Signup.
- Create a new project, preferably with sample data.
- Go to
Developers -> API Clients
to retrieve your project data. - To use your SPHERE.IO project, modify sphere.project, sphere.clientId and sphere.clientSecret in conf/application.conf.
More about the ecommerce PaaS SPHERE.IO.
- Login or register at PAYMILL to get the (test) API keys.
- Go to your PAYMILL dashboard, then
Development -> API keys
to retrieve your keys. - To use your PAYMILL account, modify sphere.key.private and sphere.clientSecret in conf/application.conf.
More about doing payments with PAYMILL.
To run this SPHERE.IO example web shop on heroku just click the button:
- Install your favourite IDE (preferably IntelliJ, Eclipse or Netbeans).
- Generate configuration files for your chosen IDE, following these instructions.
- Run
./sbt
command in root project directory. - Inside the SBT shell, type
clean test
for compiling and testing it. - Start SBT with
./sbt -jvm-debug 5005
to enable debugging with port 5005
- Typesafe Activator allows you to run and compile your code using a nice UI
- Install your favourite IDE (preferably IntelliJ, Eclipse or Netbeans).
- Download Typesafe Activator mini-package setup, following this link.
- Run Typesafe Activator in root project directory using
$ ~/path/to/activator/folder/activator ui
- Import project to your IDE using Activator GUI:
Code -> Settings -> Open Project in ...
- Currently supports IntelliJ IDEA and Eclipse