https://github.com/ebean-orm/ebean-orm.github.io
Generated public website - source is in website-source repository
https://github.com/ebean-orm/ebean-orm.github.io
Last synced: 6 months ago
JSON representation
Generated public website - source is in website-source repository
- Host: GitHub
- URL: https://github.com/ebean-orm/ebean-orm.github.io
- Owner: ebean-orm
- License: apache-2.0
- Created: 2014-08-08T10:01:30.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-01-15T08:25:29.000Z (almost 2 years ago)
- Last Synced: 2024-03-25T22:21:02.020Z (almost 2 years ago)
- Language: HTML
- Homepage: https://github.com/ebean-orm/website-source
- Size: 27.3 MB
- Stars: 4
- Watchers: 5
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Support: support.html
Awesome Lists containing this project
README
Website-2020
======================
Source for the website for Ebean ORM.
## How to build the website
### 1. Clone website-source repo
- git clone git@github.com:ebean-orm/website-source.git
### 2. Make a destination directory
```bash
mkdir website-dest
```
### 2. Download avaje-website-generator-2.2.2.jar
- download https://repo1.maven.org/maven2/org/avaje/avaje-website-generator/2.2.2/avaje-website-generator-2.2.2.jar
### 3. run the website generator
```bash
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
### 4. setup nginx to serve the website-dest directory
For example:
```none
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;
}
```