Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/apache/struts-site

Mirror of Apache Struts site
https://github.com/apache/struts-site

java struts web-framework

Last synced: about 1 month ago
JSON representation

Mirror of Apache Struts site

Awesome Lists containing this project

README

        

# Apache Struts Website

This project is used to update the main Apache Struts website http://struts.apache.org/
See the [update website documentation](source/updating-website.md) on how to push changes online.
However as ASF is using aggressive caching, for a while one still may need to forcely reload the page (CMD+R or Shift+F5) after changes.

Site is generated by Jekyll and uses pure html either markdown format.
To test website locally you can use the below command:

> bundle exec jekyll serve -w --trace --host 0.0.0.0

or you can use `Docker` (please install it first) with one of the provided scripts:

> ./docker-run.fish

when running `fish-shell`, or:

> ./docker-run.sh

when running `Bash` or `Sh`.

The continuously generated website can then be accessed at http://localhost:4000

All pages are generated into the `content` folder.

There are two scripts used to build the image but this should be used only when `Dockerfile` was modified.

Some redirect rules are configured in `source/.htaccess` file.