-
Notifications
You must be signed in to change notification settings - Fork 0
Build Instructions
Joel Edström edited this page Sep 24, 2015
·
1 revision
Requirements: Java Installed
-
git clone https://github.com/DT142G-Project-2015/web-app.git -
cd web-app -
gradlew jettyRun[windows]
./gradlew jettyRun[unix] -
Done. The lunch menu should be accessible at: http://localhost:8080/web-app/menu/0
-
(Optional) Import the project as a Gradle project into an IDE. IntelliJ Community Edition recommended. It looks just like Android Studio which is nice.
-
(Optional) Since Commit 10 if you use IntelliJ you should go into Compiler Settings and enable "Make project automatically": then with jettyRun running in your terminal it will keep auto refreshing whenever you change files in IntelliJ.
-
gradlew assembleorgradlew war
This will create a deployable .war file in /build/libs/web-app.war