Source for the hibernate.org website
JavaScript CSS HTML Ruby Shell
Permalink
Failed to load latest commit information.
_config Allow to define a per release groupId as we did change the groupId of HV Feb 16, 2017
_data/projects Update to hibernate ORM 5.1.5.Final Mar 15, 2017
_ext WEBSITe-395 Adding some logging to get better feedback what's going on Aug 25, 2015
_layouts Allow to define a per release groupId as we did change the groupId of HV Feb 16, 2017
_partials WEBSITE-484 Take into account the fact that the json feeds are now un… Feb 1, 2017
_scripts WEBSITE-149 Making sure that 'git commit' does not return non 0 which… Jan 27, 2014
_spec WEBSITE-228 Refactoring release file parser to ignore data which is n… Jan 16, 2015
community Fix typo in Community page Apr 11, 2016
docker WEBSITE-395 Adding missing callout Aug 25, 2015
dtd Clean up DTD index page by using Bootstrap classes Apr 11, 2016
images WEBSITE-255 Updating contributor page Feb 16, 2015
javascripts WEBSITE-91 Link to the local version of the tabzilla component content Dec 4, 2013
ogm [OGM] Update Roadmap Mar 3, 2017
orm Fixed links to old documentation for Envers and cleaned up wording. Feb 28, 2017
others Fix download link for Hibernate Shards May 12, 2014
presentations Remove scss files as they are interpreted by Awestruct and fail Jan 29, 2016
search [search] Add warning to 5.6 beta users Mar 13, 2017
shards WEBSITE-194 Specialize links to forums of each sub-project for jboss.… May 30, 2014
stylesheets Fix line-height for the carousel by overriding the default value from Feb 1, 2017
tools Removing reference to Hibernate 3 Jan 23, 2017
validator Fix the getting started guide dependencies and proofread the whole text Mar 10, 2017
xsd WEBSITE-403 Add xsd/hibernate-mapping Oct 27, 2015
.awestruct_ignore Ignore bin directory Sep 18, 2015
.gitignore Add the cache directory to .gitignore Jun 29, 2016
.nojekyll WEBSITE-82 Make it deployable on GitHub Pages Nov 28, 2013
404.html.haml WEBSITE-213 Upgrade to Awestruct 0.5.5 and its dependencies Aug 27, 2014
CNAME WEBSITE-83 Add CNAME file Dec 5, 2013
Gemfile WEBSITE-388 Making sure gem versions are aligned between in.relation.… Aug 11, 2015
Gemfile.lock WEBSITE-388 Making sure gem versions are aligned between in.relation.… Aug 11, 2015
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 WEBSITE-391 Simpliying Rake build file - aligning with in.relation.to… Aug 20, 2015
google3584525ea82891db.html.haml Enable Webmaster Tools - verification code Jun 9, 2015
google9616cdec3070007c.html.haml Fix Google verification to not use indexifier Jan 21, 2014
index.html.haml WEBSITE-484 Fix the sections displaying the latest blog entries Feb 1, 2017
nhibernate.html.haml WEBSITE-222 Adding a nhibernate page as forward target for all NHiber… Jan 8, 2015
robots.txt.haml WEBSITE-179 Add robots.txt that deny indexing unless using the Mar 19, 2014
survival-guide.adoc Fix asciidoc markup in survival guide Apr 11, 2016
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.