AngularJS workshop at Booster 2014.
- Git 1.7.10+
- Apache Maven 3.x || Eclipse || Gradle 2.0
- JVM 7.x
- A decent IDE, like IDEA, Eclipse
git clone https://github.com/kantega/superheroic.git
or download the ZIP.
Maven
mvn clean install
mvn jetty:run
Gradle
gradlew(.bat) build
gradlew(.bat) jettyRunWar
IntelliJ IDEA & Maven
Download and install Maven from http://maven.apache.org/download.html
Download and install IDEA from http://www.jetbrains.com/idea/free_java_ide.html
Open Project -> select pom.xml
Click 'Maven Project' on Right menu bar -> superheoric -> Plugins -> Right click jetty:run -> Run Maven Build
If asked about "No Maven installation..", click 'configuration dialog', and set 'Maven home location' to installed Maven home dir
Access application with browser on http://localhost:8080
Stand-alone Eclipse
Download and install Maven from http://maven.apache.org/download.html
Import -> Maven -> Existing Maven Projects
Root Directory: Select superheroic path -> Next -> Finish
Under 'Project Explorer Window' Select project root, then go to Run Menu -> Run As -> Maven Build (first one)
Write 'install jetty:run' in Goals -> Run
Access application with browser on http://localhost:8080
Eclipse & Maven
mvn -Declipse.workspace="path to your Eclipse Workspace" eclipse:configure-workspace
mvn eclipse:eclipse
Start Eclipse
File > Import > Existing Projects into Workspace
Root Directoy: Select superheroic path -> Finish
Under Project Explorer Window Select project root, then go to Run Menu -> Run Configurations, double click Maven Build
Under Base directory -> Browser Workspace -> Select superheroic
Write 'install jetty:run' in Goals -> Run
Access application with browser on http://localhost:8080
Java 6?
Use Jetty 7: 8080 60000 161920