Skip to content

Commit 3b79fea

Browse files
committed
- update scaffold chapter
- adds link to promo video
1 parent e03d93c commit 3b79fea

3 files changed

Lines changed: 9 additions & 12 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ target/
3939

4040
#linux te files
4141
*~
42+
/bin/

src/docs/_includes/06-scaffold.adoc

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ TIP: Use https://github.com/database-rider/dbunit-addon[dbunit-addon] to `genera
9393

9494
== Demo video
9595

96+
image::http://i3.ytimg.com/vi/_uZXXnvJp_E/hqdefault.jpg[Demo, link=https://www.youtube.com/watch?v=_uZXXnvJp_E, window="_blank", height="350", width="600"]
97+
9698
== Generated application
9799

98100
You can find the generated application by AdminFaces scaffold here: https://github.com/adminfaces/generated-scaffold-app/
@@ -104,21 +106,12 @@ clear;
104106
105107
project-new --named admin-app --top-level-package com.github.adminfaces.app --type war --final-name admin-app --version 1.0 ;
106108
107-
jpa-setup --persistence-unit-name adminPU --jpaVersion 2.1 --provider Hibernate --container JBOSS_EAP7 --db-type H2 --data-source-name java:jboss/datasources/ExampleDS ;
108-
109-
cdi-setup --cdiVersion 1.1 ;
110-
111-
ejb-setup --ejbVersion 3.2 ;
112-
113-
faces-setup --facesVersion 2.2 ;
114-
115-
servlet-setup --servletVersion 3.1 ;
116-
117109
javaee-setup --java-ee-version 7 ;
118110
111+
jpa-setup --persistence-unit-name adminPU --jpaVersion 2.1 --jpa-provider "Hibernate 4.x" --container WILDFLY --db-type H2 --data-source-name java:jboss/datasources/ExampleDS ;
112+
119113
adminfaces-setup ;
120114
121-
# entities #
122115
123116
jpa-new-entity --named Talk ;
124117
@@ -196,5 +189,6 @@ build test --profile it-tests ;
196189
197190
;
198191
192+
----
199193

200-
----
194+
TIP: https://www.youtube.com/watch?v=_uZXXnvJp_E[See this video^] which shows the execution of above commands.

src/docs/index.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ AdminFaces ecosystem is composed by the following projects:
6161
6262
In subsequent chapters we will drive through each project in detail.
6363
64+
TIP: Watch the version 1.0 announcement video to get a better idea: https://www.youtube.com/watch?v=kg_L8WjOGP8
65+
6466
include::{includedir}/01-theme.adoc[leveloffset=+1]
6567
6668
include::{includedir}/02-template.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)