Code Monkey home page Code Monkey logo

springrestboilerplate's Introduction

SPA

GIT Assume unchanged

git update-index --assume-unchanged path/to/file.ext

for properties files that shouldnt be commited so that they dont turn up as changed

Building

Build using maven command line tool (or build from within Eclipse IDE using maven plugin)

  • mvn package - Packages the application and compiles into binary (war)
  • mvn integration-test - Run integration tests (mostly db interface tests)
  • mvn test - Run unit tests

Running tests

Acceptance testing is enabled with Selenium. Selenium uses PhantomJS as WebDriver. To be able to run the mvn integration-test you need to install the PhantomJS driver and set the PHANTOM system path to /path/to/phantomjs/driver.

Build profiles

Default profile is "dev", invoke other profile by adding flag to maven build command

e.g. mvn -Pdevwin package

Add a build profile in the pom if needed, also add a resource folder (conveniently copy folder from similar profile) Each profile folder contains JDBC, logging, secure file area and other specific configurations for each build profile

springrestboilerplate's People

Contributors

pablok avatar

Watchers

平江 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.