Skip to content

trangng/sphere-sunrise-dmexco

Repository files navigation

SPHERE.IO icon

sphere-sunrise-dmexco 🌅

Build Status Stories in Ready

The next generation shop template.

⚠️ Notice this template is in a very early stage of development.

Unfortunately we do not currently have any finished template that uses our last version of the SPHERE JVM SDK. If you are looking for a more complete project you can check our Fedora template, but be aware that this project uses the older version SPHERE Play SDK.

Preconditions

  • install Java 8
  • install SBT, Mac/Linux users can use the SBT script in the base folder (use ./sbt instead of sbt in commands)

Run it locally

  • on Linux/Mac: ./activator ~run
  • on Windows: activator ~run

The output will be like

[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
(Server started, use Ctrl+D to stop and go back to the console...)

Integration tests against SPHERE.IO backend

  • Setup your environment variables (use a test project), so you need not to put your shop credentials under version control:
export SPHERE_SUNRISE_IT_PROJECT="your-project-key"
export SPHERE_SUNRISE_IT_CLIENT_SECRET="your-the-client-secret"
export SPHERE_SUNRISE_IT_CLIENT_ID="your-client-id"
  • sbt it:test

Deployment

For an easy and fast deployment of your application we recommend heroku:

Deploy

Docker

Docker build

You can also use a ready-to-run docker container.

$ docker run -it --rm -p 9000:9000 sphereio/sunrise

Related projects

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published