Skip to content

Commit 7c6df70

Browse files
Horia Chioreanrhauch
Horia Chiorean
authored andcommitted
Website update courtesy of https://github.com/infinispan/infinispan.github.io with minimal changes and updated Gemfile so that it's possible to develop on Windows.
1 parent 5ce0d29 commit 7c6df70

File tree

141 files changed

+14395
-2215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+14395
-2215
lines changed

.awestruct_ignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
README.md
2+
CONTRIBUTING.md
3+
LICENSE.md
4+
Gemfile*
5+
Rakefile
6+
bin
7+
_stg

.gitignore

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Awestruct
2+
_tmp
3+
_site
4+
.awestruct
5+
.sass-cache
16
_deploy/
27
_site/
38
_tmp/
@@ -9,4 +14,30 @@ _tmp/
914
TODO
1015
.awestruct
1116
Guardfile
12-
Gemfile.lock
17+
Gemfile.lock
18+
19+
## OS related
20+
*.DS_Store
21+
22+
## IDE
23+
.settings
24+
.project
25+
.buildpath
26+
*.iml
27+
*.ipr
28+
*.iws
29+
.idea
30+
31+
32+
# log files
33+
*.log
34+
35+
## Ruby tools
36+
.rvmrc
37+
*.lock
38+
39+
## Sources and docs
40+
docs
41+
_stg
42+
43+
*.swp

.htaccess

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ErrorDocument 404 /404
2+
Options +FollowSymLinks
3+
Options +Indexes
4+

.nojekyll

Whitespace-only changes.

404.html.haml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
layout: project
3+
title: OOPS !
4+
---
5+
6+
/ Main hero unit for a primary marketing message or call to action
7+
.row-fluid
8+
.hero-unit
9+
%h1 Oh %$*&!
10+
%p
11+
Something has gone wrong. The page you're looking for doesn't exist.
12+
%b 404, baby!
13+
%i.icon-frown

Gemfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
source 'https://rubygems.org'
2+
3+
if RUBY_PLATFORM=~ /mswin|mingw|cygwin/
4+
gem 'therubyracer', '0.11.0beta1' # Call JavaScript code and manipulate JavaScript objects from Ruby and vice versa gem "ruby-debug"
5+
gem 'win32-open3-19'
6+
else
7+
gem 'therubyracer', '~> 0.11.4' # Call JavaScript code and manipulate JavaScript objects from Ruby
8+
end
9+
10+
#gem 'awestruct', '~> 0.5.2.1' # Framework for creating static HTML sites
11+
gem 'awestruct', :github => 'mojavelinux/awestruct', :branch => 'integration'
12+
gem 'uglifier', '~> 2.0.1' # Ruby wrapper for UglifyJS JavaScript compressor
13+
gem 'cssminify', '~> 1.0.2' # CSS compression using YUI compressor
14+
gem 'less', '~> 2.4.0' # Invoke the Less CSS compiler from Ruby
15+
gem 'rb-fsevent', '~> 0.9.3' # FSEvents API with Signals catching (without RubyCocoa)
16+
gem 'kramdown', '~> 1.0.1' # Kramdown works on all platforms, rdiscount only on mri
17+
gem 'therubyrhino', '~> 1.73', :platforms => :jruby # JavaScript on JRuby
18+
gem 'htmlcompressor', '~> 0.0.3' # Adds in HTML minification, helps remove the warning on awestruct startup
19+
gem 'json', '~> 1.7.7'
20+
gem 'asciidoctor', '~> 0.1.4'
21+
gem 'git', '~> 1.2.6'
22+
gem 'trollop', '~> 2.0'
23+
gem 'coderay', '~> 1.1.0'

LICENSE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# LICENSE
2+
3+
This website ie released under Creative Commons. More details of this license can be found on the [Creative Commons website](http://creativecommons.org/licenses/by/3.0/).

README.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Introduction
2+
3+
This is the source code for the [Infinispan.org](http://www.infinispan.org) website. This is based on templates created by the JBoss Community using [Awestruct](http://awestruct.org) and [Bootstrap](http://twitter.github.com/bootstrap).
4+
5+
# System Requirements
6+
* Ruby 1.9.2 or above
7+
* RubyGems - 1.3.6 or above
8+
* Bundler - 1.3.5
9+
* Try `sudo gem install bundler`
10+
* GNU WGet 1.14
11+
12+
**Note:** If you are using Mac OS X, you need to have the following setup:
13+
1. [XCode](https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12). After installing XCode, you should go to `XCode -> Preferences -> Download` and install the command line (CLI) tools.
14+
1. [MacPorts](http://www.macports.org/)
15+
1. You can install WGet using MacPorts: `sudo port install wget`
16+
1. You need `libxml2` and `libxslt`: `sudo port install libxml2 libxslt`
17+
1. You will need Ruby >= 1.9.2. Mac OS _Mountain Lion_ comes with 1.8.x. Using [RVM](https://rvm.io/) and [JewelryBox](http://jewelrybox.unfiniti.com/) is probably the best way to manage and install several different versions of Ruby on OS X.
18+
19+
## 1. Build the website
20+
Run Awestruct in development mode from the top-level directory to build the website and host it using a local web server:
21+
22+
`$ bin/run_dev.sh`
23+
24+
## 2. View the website locally
25+
Use a web browser to visit [http://localhost:4242](http://localhost:4242) where you can see the site.
26+
27+
## 3. Stage the website
28+
Staging is published on OpenShift. To do this, you *must* have SSH access to Infinispan's OpenShift account. After that, you must:
29+
30+
* Run `$ bin/publish_staging.sh`
31+
* Browse to `http://stg-ispn.rhcloud.com` to test
32+
33+
### Permissions.
34+
To be able to publish to staging, you must:
35+
* Have the following in your `~/.ssh/config`:
36+
37+
```
38+
Host *.rhcloud.com
39+
IdentityFile ~/.ssh/libra_id_rsa
40+
VerifyHostKeyDNS yes
41+
StrictHostKeyChecking no
42+
UserKnownHostsFile ~/.ssh/libra_known_hosts
43+
```
44+
45+
* Have `libra_id_rsa`, `libra_id_rsa.pub` and `libra_known_hosts` in your `~/.ssh` directory.
46+
Contact Infinispan project leads for these files.
47+
48+
## 4. Publish the website
49+
If everyone is happy with staging then:
50+
51+
* Run `$ bin/publish_production.sh`
52+
* Browse to `http://www.infinispan.org`
53+
54+
### Permissions.
55+
To be able to publish to production, you must have git push rights on *http://github.com/infinispan/infinispan.github.io*.
56+
Contact Infinispan project leads for such permissions.
57+
58+
# Contribute to issues on Infinispan.org
59+
Feel like contributing? Great! Read [this page](https://github.com/infinispan/infinispan.github.io/blob/develop/CONTRIBUTING.md) on how to contribute.

README.textile

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)