Source for the hibernate.org website
Switch branches/tags
Nothing to show
Clone or download
yrodiere Add more context information to 404 tickets
By default the user has to check a box to include that information, and
most just don't check it...
Latest commit 013107e Sep 18, 2018
Permalink
Failed to load latest commit information.
_config WEBSITE-527 Copy the DTDs directly to the root Jul 30, 2018
_data/projects [HSEARCH] 5.10.4.Final, 5.9.3.Final and 5.6.6.Final releases Sep 17, 2018
_ext Tidy up Maven links and add Bintray support for the upcoming ORM 5.3.… Feb 2, 2018
_layouts Switch to jsdelivr as using cdnjs over HTTPS is not supported in China Feb 5, 2018
_partials Switch to jsdelivr as using cdnjs over HTTPS is not supported in China Feb 5, 2018
_scripts WEBSITE-149 Making sure that 'git commit' does not return non 0 which… Jan 27, 2014
_spec Update logging after upgrade to Awestruct 0.5.7 Jan 10, 2018
community Updating the link to LGPL2.1 May 23, 2018
docker Update the Dockerfile following the Awestruct upgrade Feb 2, 2018
dtd Final cleanup of the layouts Sep 26, 2017
images Add a Corporate contributors page Jan 16, 2018
javascripts Convert the website to a new layout Sep 26, 2017
ogm [OGM] 5.4.0.Beta2 release Jul 5, 2018
orm Fix link to JPA Metamodel Generator documentation Aug 7, 2018
others Convert the website to a new layout Sep 26, 2017
presentations Add content of the Hibermate 5 presenmtation Jun 16, 2017
search [HSEARCH] Remove 5.10 from the roadmap, since it's been released May 28, 2018
shards Point to the new forums Jan 2, 2018
stylesheets Add SAP as a corporate contributor Jan 24, 2018
tools Point to the new forums Jan 2, 2018
validator [HV] Update the 6.0 release page with all the new features of the 6.0… May 10, 2018
xsd Final cleanup of the layouts Sep 26, 2017
.awestruct_ignore Ignore bin directory Sep 18, 2015
.gitignore Add vim temp files to .gitignore Sep 26, 2017
.nojekyll WEBSITE-82 Make it deployable on GitHub Pages Nov 28, 2013
404.html.haml Add more context information to 404 tickets Sep 18, 2018
CNAME WEBSITE-83 Add CNAME file Dec 5, 2013
Gemfile Add json gem Jan 10, 2018
Gemfile.lock Add json gem Jan 10, 2018
Guardfile Checking Guardfile for live reload via guard Aug 2, 2013
LICENSE.txt WEBSITE-42 Make license ASL 2.0 (following the Bootstrap Community) Dec 4, 2013
NOTICE.txt WEBSITE-42 Make license ASL 2.0 (following the Bootstrap Community) Dec 4, 2013
README.adoc Update the install instructions to Fedora 23 and fix a typo Jun 13, 2016
Rakefile Update the Dockerfile following the Awestruct upgrade Feb 2, 2018
google3584525ea82891db.html.haml Enable Webmaster Tools - verification code Jun 9, 2015
google9616cdec3070007c.html.haml Fix Google verification to not use indexifier Jan 21, 2014
hibernate-configuration-2.0.dtd WEBSITE-527 Copy the DTDs directly to the root Jul 30, 2018
hibernate-configuration-3.0.dtd WEBSITE-527 Copy the DTDs directly to the root Jul 30, 2018
hibernate-configuration.dtd WEBSITE-527 Copy the DTDs directly to the root Jul 30, 2018
hibernate-generic.dtd WEBSITE-527 Copy the DTDs directly to the root Jul 30, 2018
hibernate-mapping-1.1.dtd WEBSITE-527 Copy the DTDs directly to the root Jul 30, 2018
hibernate-mapping-2.0.dtd WEBSITE-527 Copy the DTDs directly to the root Jul 30, 2018
hibernate-mapping-3.0.dtd WEBSITE-527 Copy the DTDs directly to the root Jul 30, 2018
hibernate-mapping.dtd WEBSITE-527 Copy the DTDs directly to the root Jul 30, 2018
hibernate-reverse-engineering-3.0.dtd WEBSITE-527 Copy the DTDs directly to the root Jul 30, 2018
index.html.haml Remove the dot after Hibernate in the page title Mar 20, 2018
nhibernate.html.haml Final cleanup of the layouts Sep 26, 2017
robots.txt.haml WEBSITE-179 Add robots.txt that deny indexing unless using the Mar 19, 2014
survival-guide.adoc Fix CSS issues in getting started guides Oct 26, 2017
tabcontent.html WEBSITE-91 Keep a local version of tabcontent.html Dec 4, 2013

README.adoc

How to build hibernate.org

Prerequisites

Installation

Ensure Rake is installed

Make sure Rake is available. It is often installed per default.

> rake --version

If you get "command not found":

> gem install rake

Ensure Bundler is installed

Make sure Bundler (version >= 1.10) is available. It manages your Ruby gems locally to the project and prevents version conflicts between different Ruby projects. Quoting from the website:

Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed.

> bundle -v

If you get "command not found" or a version < 1.10:

> gem install bundler

Get the source

> git clone git@github.com:hibernate/hibernate.org.git
> cd hibernate.org

Setup awestruct

> rake setup

Serve the site

rake preview

Point your browser to http://localhost:4242

Tips & Tricks

How to edit/publish content

Refer to this guide

Which other tasks exist in the Rake build file?

> rake --tasks

This will list the available tasks with a short description

I am getting errors when trying to execute awestruct directly

You need to use bundle exec <command> to make sure you get all required Gems. Check the Rakefile to see how the different awestruct calls are wrapped.

If you are getting error after an update

> rake clean[all]
> rake setup
> rake preview

If your changes are not visible…​

Panic! Then completely regenerate the site via:

> rake clean preview

Fedora 23 setup

Make sure the user is in the sudo group and install required dependencies for compilation of native extensions:

> sudo dnf -y install gcc-c++ make ruby-devel libxml2-devel libxslt-devel redhat-rpm-config
Note

This is required regardless how you proceed from here (provided Ruby version vs RVM)

Using Ruby version provided by the Fedora packages

> sudo dnf -y install ruby
> gem install rake bundler

Continue here

Using RVM

How to Integrating RVM with gnome-terminal: http://rvm.io/integration/gnome-terminal

How to install RVM (http://rvm.io/rvm/install)

Install the GPG key:

gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

Install a stable Ruby version:

curl -sSL https://get.rvm.io | bash -s stable --ruby
git clone in.relation.to
cd in.relation.to
echo "rvm ruby-2.2@global" > .rvmrc

Load the .rvmrc file:

cd ../in.relation.to

Say yes to .rvmrc execution.

Continue here

Bugger that,…​

I cannot get the enviroment up and running. Use Docker! Read how!

License

The content of this repository is released under the ASL 2.0.

By submitting a "pull request" or otherwise contributing to this repository, you agree to license your contribution under the respective licenses mentioned above.

Acknowledgements

This website uses JBoss Community Bootstrap.