- Java SDK (1.6 or greater use '
javac -version' to check your version) - Gradle (build tool) ** if you used homebrew to install gradle you need to apply a workaround for the IntelliJ plugin
- IntelliJ Community Edition (IDE)
Ensure you have installed the Prerequisites
Create a new directory for your project and change to it
Download the skeleton and start a new git repo by executing:
curl -L https://github.com/nurous/java-webapp-skeleton/tarball/master | tar zx --strip-components=1 && git initRun the build (
gradle ideaLibs precommit) to download libraries and make sure everything worksCreate your first commit ('
git add . && git commit')Open the (existing) IntelliJ project
Rename the base module (java-webapp-skeleton) to match your project name
Rename the package '
your_package' using IntelliJ's rename refactoring to an appropriate package nameGo to the 'TO DO' tab and fix the ones marked with 'MAJOR'.
Run the build (
gradle precommit) to make sure you haven't broken anythingCreate a commit with your changes ('
git add . && git commit')Rename
Thingyto be your first domain model object.The remaining 'TO DO' items are numbered and indicate things you should do to familiarize yourself with the code and begin implementing your application