Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Partial fix for bug 911090: instruction update

  • Loading branch information...
commit ca9741621a2a869ca55c9edf2caf263b04cb7c82 1 parent c2bbb7c
@sgilda sgilda authored
Showing with 17 additions and 9 deletions.
  1. +17 −9 forge-from-scratch/README.md
View
26 forge-from-scratch/README.md
@@ -54,14 +54,14 @@ Notice that there is a file in this directory named `generate.fsh`. Run this fil
This command will prompt you to enter a `project-name`, for example: 'example'
-It will also prompt you to enter the top level package. This should be the domain for your organization, for example: 'com.example'
+After this, you see a lot of console messages with a `[INFO] BUILD SUCCESS` towards the end.
What Did This Create?
-------------------
This quickstart has created a native Java EE 6 application.
-After this command completes, look in your QUICKSTART_HOME/forge-from-scratch/ folder. You will see a folder with the same name as the `project-name` you entered in the prompt above. Browse through this project to see the code that was generated as a result of this command.
+After this command completes, look in your `QUICKSTART_HOME/forge-from-scratch/` folder. You will see a folder with the same name as the `project-name` you entered in the prompt above. Browse through this project to see the code that was generated as a result of this command.
For a full description of what was generated by running this script and details on the structure of the application, visit the [Forge UI Scaffolding Guide](https://docs.jboss.org/author/display/FORGE/UI+Scaffolding)
@@ -89,25 +89,33 @@ Deploy and test the newly generated application
Make sure you have started the JBoss server. See the instructions in the previous section.
-To build the application,type the following command:
+1. Build the application:
forge> build
-To deploy the application, use the `jboss-as-7` Forge plugin. Type the following commands:
+2. Use the `jboss-as-7` Forge plugin to deploy the application. Install it with the following command:
forge> forge install-plugin jboss-as-7
+
+3. Configure the server information:
+
forge> as7 setup
+
+ You will be prompted with three questions. Type 'N' for the first two questions to keep the default settings. Enter the path to your server install for the third question.
+
+4. Now deploy the application:
+
forge> as7 deploy
-This will deploy `target/YOUR_PROJECT_NAME.war`.
+ This will deploy `target/YOUR_PROJECT_NAME.war`.
-The application will be running at the following URL: <http://localhost:8080/YOUR_PROJECT_NAME/>.
+5. The application will be running at the following URL: <http://localhost:8080/YOUR_PROJECT_NAME/>.
-Be sure to replace YOUR_PROJECT_NAME with the name of the project you chose when running the script.
+ Be sure to replace `YOUR_PROJECT_NAME` with the name of the project you chose when running the script.
-To undeploy from JBoss AS, run this command:
+6. When you are ready to undeploy from JBoss AS, run this command:
- forge> as7 undeploy
+ forge> as7 undeploy
Next Steps
Please sign in to comment.
Something went wrong with that request. Please try again.