eds-starter6-jpa
eds-starter6-jpa copied to clipboard
Ext JS 6 demo application with Java 8, Spring Framework, Spring Boot, JPA (Hibernate)
Run the application on your local machine
Prerequisite
- Install Sencha CMD: https://www.sencha.com/products/extjs/cmd-download/
- Download Ext JS 6.5 and unzip it into any folder (that's the folder you specify in step 3)
- Make sure that the Ext JS version in
eds-starter6-jpa/workspace.json
matches the downloaded Ext JS version
- Clone the repository
-
cd eds-starter6-jpa/client
-
sencha app install --framework=/path/to/extjs/
-
sencha app watch
- In another shell
cd eds-starter6-jpa
-
./mvnw spring-boot:run -Dspring.profiles.active="development"
- Open url http://localhost:8080 in a browser
Build the application for production
-
./mvnw clean package
- The file
target/eds-starter6-jpa.jar
contains the whole application. Deploy it to a server. - Start the application with
java -jar <any_folder>/eds-starter6-jpa.jar
- The application listens by default on port 80