commit | da274c180dfd31fb61ae2abebab9ebb5f052eec2 | [log] [tgz] |
---|---|---|
author | Claude Brisson <claude@renegat.net> | Mon Oct 21 18:23:31 2024 +0200 |
committer | Claude Brisson <claude@renegat.net> | Mon Oct 21 18:23:31 2024 +0200 |
tree | 39e2c7a55c6f79404aceb37ee214dbb4c973e80b | |
parent | 72bca7a3b7a913bb2a29d509f6119ed3c489e7c3 [diff] |
Prepare 2.4.1 pages binding and doap
Note: the branch trunk is obsolete. Please use the main branch.
The Apache Velocity Site is what you get when you visit http://velocity.apache.org/ (our homepage). It is the envelope site for all Apache Velocity sub projects.
In short: This Git repository is only interesting for you if you
a) want to re-create the Apache Velocity site on your local computer or intranet.
b) are an Apache Velocity committer/contributor and want to update the site.
Apache Velocity uses Apache Content Management System to build the site. The whole process of buiding the site is automated with a Docker based build script.
The required software you need is:
*) Git - to checkout and commit *) Docker - builder.sh uses it to run Apache CMS that generates HTML out of the Markdown files *) A text editor - to edit the Markdown files *) A web browser - to review the changes in the generated HTML files
Steps:
export VELOCITY_PARENT_FOLDER=“/path/to/velocity” mkdir -p $VELOCITY_PARENT_FOLDER cd $VELOCITY_PARENT_FOLDER
git clone --single-branch --branch main git@github.com:[YOUR_GITHUB_ID]/velocity-site.git
$VELOCITY_PARENT_FOLDER/velocity-site edit src/content/[FILE].mdtext
./builder/bin/builder.sh
open localhost:8000 in your favorite web browser and navigate around to review your changes
cd $VELOCITY_PARENT_FOLDER/velocity-site git commit -a -m “Some message explaining your changes” git push
If you have questions about the Apache Velocity Site building process, please ask the Velocity developers on the Velocity Developers mailing list at dev@velocity.apache.org.