Skip to content

Commit

Permalink
trying out markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
simbo1905 committed Jun 5, 2012
1 parent 73c2ff5 commit 9460d2b
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 54 deletions.
16 changes: 16 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,22 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.1</version>
<dependencies>
<dependency>
<groupId>org.kohsuke</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
<configuration>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
Expand Down
35 changes: 35 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

#### This is the code for the "ZkToDo2" sample with ZK, JPA & Spring

http://www.slideshare.net/simbo1905/zk-mvvm-spring-jpa-on-two-paas-clouds-10610874
http://www.slideshare.net/simbo1905/design-patterns-in-zk-java-mvvm-as-modelviewbinder

#### See it running on the cloud (the apps may shutdown on idle and so may be slow on first request):

http://zktd2-zkdemo.rhcloud.com/ (OpenShift PaaS Cloud)
http://glowing-light-1070.herokuapp.com/ (Heroku PaaS Cloud)

#### Getting the source:

git clone https://simbo1905@github.com/simbo1905/ZkToDo2.git

#### Building and running with default settings a PostgreSQL database host/db/user/passwd:

mvn -Djetty.port=8080 -DDATABASE_URL=postgres://user:password@localhost/db package jetty:run

within the source code there are config settings for running on mysql db, postgresql db and hsqldb see
the commandline.build.and.run.txt for more details on switching to MySQL database.

#### Note

"hibernate.hbm2ddl.auto=update" in file src/main/webapp/WEB-INF/classes/postgresql.zktodo2.properties may or may not create the required database tables depending on your database setup. Of course that setting is a bit lazy you can have hibernate generate the sql ddl script and use the local tools to manage your schema for a real app.

#### More documentation at:

./commandline.build.and.run.txt
./eclipse.indigo.build.and.debug.txt
./opensshift.build.and.run.txt
./heroku.build.and.run.txt
./jboss.build.and.run.txt


19 changes: 0 additions & 19 deletions src/site/apt/gui-patterns-with-zk.md

This file was deleted.

70 changes: 35 additions & 35 deletions readme.txt → src/site/markdown/index.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
This is the code for the "ZkToDo2" sample with ZK, JPA & Spring
http://www.slideshare.net/simbo1905/zk-mvvm-spring-jpa-on-two-paas-clouds-10610874
http://www.slideshare.net/simbo1905/design-patterns-in-zk-java-mvvm-as-modelviewbinder
See it running on the cloud (the apps may shutdown on idle and so may be slow on first request):
http://zktd2-zkdemo.rhcloud.com/ (OpenShift PaaS Cloud)
http://glowing-light-1070.herokuapp.com/ (Heroku PaaS Cloud)
Getting the source:
git clone https://simbo1905@github.com/simbo1905/ZkToDo2.git
Building and running with default settings a PostgreSQL database host/db/user/passwd:
mvn -Djetty.port=8080 -DDATABASE_URL=postgres://user:password@localhost/db package jetty:run
within the source code there are config settings for running on mysql db, postgresql db and hsqldb see
the commandline.build.and.run.txt for more details on switching to MySQL database.
Note
"hibernate.hbm2ddl.auto=update" in file src/main/webapp/WEB-INF/classes/postgresql.zktodo2.properties may or may not create the required database tables depending on your database setup. Of course that setting is a bit lazy you can have hibernate generate the sql ddl script and use the local tools to manage your schema for a real app.
More documentation at:
./commandline.build.and.run.txt
./eclipse.indigo.build.and.debug.txt
./opensshift.build.and.run.txt
./heroku.build.and.run.txt
./jboss.build.and.run.txt

#### This is the code for the "ZkToDo2" sample with ZK, JPA & Spring

http://www.slideshare.net/simbo1905/zk-mvvm-spring-jpa-on-two-paas-clouds-10610874
http://www.slideshare.net/simbo1905/design-patterns-in-zk-java-mvvm-as-modelviewbinder

#### See it running on the cloud (the apps may shutdown on idle and so may be slow on first request):

http://zktd2-zkdemo.rhcloud.com/ (OpenShift PaaS Cloud)
http://glowing-light-1070.herokuapp.com/ (Heroku PaaS Cloud)

#### Getting the source:

git clone https://simbo1905@github.com/simbo1905/ZkToDo2.git

#### Building and running with default settings a PostgreSQL database host/db/user/passwd:

mvn -Djetty.port=8080 -DDATABASE_URL=postgres://user:password@localhost/db package jetty:run

within the source code there are config settings for running on mysql db, postgresql db and hsqldb see
the commandline.build.and.run.txt for more details on switching to MySQL database.

#### Note

"hibernate.hbm2ddl.auto=update" in file src/main/webapp/WEB-INF/classes/postgresql.zktodo2.properties may or may not create the required database tables depending on your database setup. Of course that setting is a bit lazy you can have hibernate generate the sql ddl script and use the local tools to manage your schema for a real app.

#### More documentation at:

./commandline.build.and.run.txt
./eclipse.indigo.build.and.debug.txt
./opensshift.build.and.run.txt
./heroku.build.and.run.txt
./jboss.build.and.run.txt


35 changes: 35 additions & 0 deletions src/site/site.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<project name="Maven" xmlns="http://maven.apache.org/DECORATION/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
<bannerLeft>
<name>ZkToDo2</name>
<src>https://secure.gravatar.com/avatar/92ab9af5b2597efeee9eab0f0d782409</src>
<href>https://github.com/simbo1905</href>
</bannerLeft>

<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>1.2.1</version>
</skin>
<custom>
<fluidoSkin>
<sideBarEnabled>false</sideBarEnabled>
</fluidoSkin>
</custom>


<body>
<links>
<item name="simbo1905" href="https://github.com/simbo1905" />
</links>

<menu name="Regular Web Site">
<item name="Patterns" href="gui-patterns-with-zk.html" />
</menu>

<menu ref="reports" />
</body>
</project>

0 comments on commit 9460d2b

Please sign in to comment.