--
A website skeleton written with JDK1.8, Spring 4.2 (spring-boot and spring-framework), multi-component Gradle, thymeleaf, JUnit tests, and FluentLenium+Rest-Assured acceptance tests.
--
brew install node
- Download and install JDK8
git clone https://github.com/jadekler/git-spring-websiteskeleton.git
. I'll assume you cloned this at~/workspace/git-spring-websiteskeleton
cd ~/workspace/git-spring-websiteskeleton
./gradlew bootRun
- Navigate to
http://localhost:8080
NOTE: The applications/core
master component is where all components with components
get compiled into one final
application - note the project compiles happening at applications/core/build.gradle
.
./gradlew clean test
- Install chef-dk
- Install vagrant
- Install virtualbox
- Note: if you get an error about
vboxsf
, download Virtualbox 4.3.20 here
- Note: if you get an error about
vagrant plugin install vagrant-berkshelf
vagrant plugin install vagrant-omnibus
vagrant plugin install vagrant-vbguest
(possibly optional - install this if you seeFailed to mount folders in Linux guest.
)cd ~/workspace/git-spring-websiteskeleton/jenkins_ci && vagrant up --provision
- The java chef downloads from oracle (sigh). If your connection is slow or spotty, it may fail on a curl command. Give it
a couple of shots (
vagrant provision
will do it) until the curl successfully completes