Generated public website - source is in website-source repository
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
9
apidoc
architecture
cli-dist
css
docs
eclipse
fonts
funding
images
js
metrics
reference
websitegenerator
.gitignore
CNAME
LICENSE
README.md
about.html
doc-blocks.html
documentation.html
index.html
quickstart.html
releases.html
search.json
support.html
videos.html

README.md

Website

Source for the website for Ebean ORM.

How to build the website

1. Clone website-source repo

2. Make a destination directory

mkdir website-dest

2. Download avaje-website-generator-2.1.2.jar

3. run the website generator

java -jar avaje-website-generator-2.1.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

4. setup nginx to serve the website-dest directory

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;
}