The next generation shop template.
- install Java 8
- install SBT, Mac/Linux users can use the SBT script in the base folder (use
./sbtinstead ofsbtin commands)
- 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...)
- open http://localhost:9000 in your browser and set the commercetools platform project credentials
- Setup your environment variables (use a test project), so you need not to put your shop credentials under version control:
export SUNRISE_IT_CTP_PROJECT_KEY="your-CTP-project-key"
export SUNRISE_IT_CTP_CLIENT_SECRET="your-CTP-client-secret"
export SUNRISE_IT_CTP_CLIENT_ID="your-CTP-client-id"sbt it:test
For an easy and fast deployment of your application we recommend heroku:
You can also use a ready-to-run docker container.
$ docker run -it --rm -p 9000:9000 sphereio/sunrise- Template sources: https://github.com/sphereio/commercetools-sunrise-design
- Data: https://github.com/sphereio/commercetools-sunrise-data
- Commercetools' JVM SDK: https://github.com/sphereio/sphere-jvm-sdk
- Automated web tests: https://github.com/sphereio/commercetools-sunrise-scenarios


