Skip to content

RainerJava/commercetools-sunrise-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

894 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunrise Java 🌅

Build Status Stories in Ready

The next generation shop template.

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 commercetools platform

  • 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

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

The next generation demo shop template by commercetools

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 93.8%
  • Shell 4.0%
  • Scala 1.5%
  • Other 0.7%