|
8 | 8 |
|
9 | 9 | * [Codenvy setup to demo applications using Docker: Java EE 7 with Angular](http://www.radcortez.com/codenvy-setup-to-demo-applications-using-docker-java-ee-7-with-angular/) |
10 | 10 |
|
11 | | -* [Java EE 7 with Angular Demo](https://codenvy.com/f?id=ybnr6nsyrimeoyhg) |
12 | | - |
13 | 11 | ## How to run ? ## |
14 | 12 |
|
15 | | -* You need JDK 7 or higher, Maven 3 and Wildfly 8 or Glassfish 4.1 to run the application. |
| 13 | +## Codenvy ## |
| 14 | + |
| 15 | +Codenvy (https://codenvy.com) is a cloud environment for coding, building, and debugging apps. It's the recommended way |
| 16 | +to run this project, since all the setup is cloud based, you don't need to setup anything in your own machine. |
| 17 | + |
| 18 | +Just go to: [Java EE 7 with Angular Demo](https://codenvy.com/f?id=ybnr6nsyrimeoyhg) |
16 | 19 |
|
| 20 | +Wait for the project to load and then just hit the Green Run Button in the upper right corner. You might want to check a |
| 21 | +few instructions here: [Codenvy setup to demo applications using Docker: Java EE 7 with Angular](http://www.radcortez.com/codenvy-setup-to-demo-applications-using-docker-java-ee-7-with-angular/) |
| 22 | + |
| 23 | +## Localhost ## |
| 24 | + |
| 25 | +* You need JDK 7 or higher, Maven 3 and Wildfly 8 or Glassfish 4.1 to run the application. |
17 | 26 | * Build the code using Maven with the command: `mvn clean install`. |
18 | 27 |
|
19 | | -* ## Deploy in the Wildfly 8 ## |
| 28 | +### Deploy in Wildfly 8 ### |
20 | 29 |
|
21 | | - * Copy the file javaee7-angular-3.4.war from target directory to your Wildfly installation folder /standalone/deployments |
| 30 | + * Copy the file javaee7-angular-3.4.war from target directory to your Wildfly installation folder |
| 31 | + `standalone/deployments` |
22 | 32 |
|
23 | | - * You can also deploy the app, using Maven Wildfly Plugin with the following command: `mvn wildfly:deploy`. You need to have Wildfly running. |
| 33 | + * You can also deploy the app, using Maven Wildfly Plugin with the following command: `mvn wildfly:deploy`. |
| 34 | + You need to have Wildfly running. |
24 | 35 |
|
25 | | - * Start Wildfly 8 and go to http://localhost:8080/javaee7-angular-3.4/ |
| 36 | + * Start Wildfly 8 and go to http://localhost:8080/javaee7-angular-3.6/ (http://localhost:8080/javaee7-angular-3.6/) |
26 | 37 |
|
27 | | -* ## Deploy in the Glassfish 4.1 ## |
| 38 | +### Deploy in Glassfish 4.1 ### |
28 | 39 |
|
29 | 40 | * Open Admin Console (http://localhost:8484/) |
30 | 41 |
|
31 | 42 | * Go to menu "Application" |
32 | 43 |
|
33 | | - * In the button "Deploy..." select the file javaee7-angular-3.4.war |
| 44 | + * In the button "Deploy..." select the file javaee7-angular-3.6.war |
34 | 45 |
|
35 | | - * Go to http://localhost:8080/javaee7-angular-3.4/ |
| 46 | + * Go to http://localhost:8080/javaee7-angular-3.6/ (http://localhost:8080/javaee7-angular-3.6/) |
36 | 47 |
|
37 | 48 | ## Javascript Package Management (optional) ## |
38 | 49 |
|
39 | | -* The required JS libraries are included in the project, but it also possible to manage them with the next steps. |
| 50 | +The required JS libraries are included in the project, but it also possible to manage them following the next steps: |
40 | 51 |
|
41 | 52 | * You need NPM. Please go to http://nodejs.org/download/ to get a copy. |
42 | 53 |
|
|
0 commit comments