Source for the website for Ebean ORM.
- git clone git@github.com:ebean-orm/website-source.git
mkdir website-dest
java -jar avaje-website-generator-2.2.2.jar -s website-source/ -d website-dest/
This website generator will:
- generate content into website-dest
- continue to run (until CTRL-C) watching the source directory
- When any source file changes it will re-generate the changed content
For example:
root /home/rob/work/website-dest;
index index.html index.htm;
server_name _;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri.html $uri/ =404;
}