Skip to content
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.

commercetools/sphere-snowflake

Repository files navigation

SPHERE.IO - Snowflake

Build Status Heroku

🚫 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.

Live demo

Visit a live demo of SPHERE.io snowflake store at snowflake.sphere.io.

Getting started

Set it up

  • 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 or sbt.bat run (Windows) command in root project directory.
  • Open your browser and point it to http://localhost:9000.

Configure it

SPHERE.IO data - mandatory

More about the ecommerce PaaS SPHERE.IO.

PAYMILL keys - optional

More about doing payments with PAYMILL.

Deployment

heroku

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

Deploy

Development

Getting IDE settings from Play! framework

  • 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

Use Typesafe Activator

  • 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

Special info: Eclipse

  • Eclipse has no native support of Scala/Play applications
  • Please use this prepackaged version of Eclipse: Scala-IDE