Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gh pages new #19

Merged
merged 13 commits into from
Apr 17, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
_site/
*.lock
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'http://rubygems.org'
gem 'github-pages'
gem 'rouge', '1.6.2' # Downgrade as workaround for https://github.com/jekyll/jekyll/pull/2951
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
86 changes: 49 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,49 @@
Get Moai Website
=====================

This is a proof of concept for the Moai SDK website. The intention is to evaluate GitHub as a possible home for GetMoai.com.

##Contributing to the Site
===

Feel free to clone this repo and make your changes. Contribute to this site by making a pull request.

##Tools
===
So far this site is made using the following tools:

* jykll - <http://jekyllrb.com>
* bootstrap 3 - <http://getbootstrap.com>

Github Pages automaticaly supports Jykll (see: <https://help.github.com/articles/using-jekyll-with-pages>)

## Getting Started
===
You don't have to install Jekyll to contribute to the repo, but it would be helpful. If something is not building as expected installing Jekyll would allow you to view the site localy on your computer.

First you will need to install Ruby on your system (If you are running Mac OS X, no need - it's already installed). Once you have Ruby, you will need the following Gems:

* [Bundler](http://bundler.io/)
* [Jekyll](http://jekyllrb.com/)

Once installed, you can run the following command:

`bundle exec jekyll serve --watch`

This will tell jekyll to compile your the site and server it up locally on port 4000 (<http://localhost:4000>)

The 'watch' switch will tell Jekyll to recompile your site when a file is changed.


# Get Moai Website

This is a proof of concept for the Moai SDK website. The intention is to evaluate GitHub as a possible home for <http://getmoai.com>.

## Contributing to the Site

Feel free to clone this repo and make your changes. Contribute to this site by making a pull request.

## Getting Started

This website uses [GitHub Pages](https://pages.github.com/).

## Tools

So far this site is made using the following tools:

* [Jekyll](http://jekyllrb.com)
* [Bootstrap 3](http://getbootstrap.com)

GitHub Pages automatically support Jekyll (see <https://help.github.com/articles/using-jekyll-with-pages>).

## Getting Started

You don't have to install Jekyll to contribute to the repo, but it would be helpful. If something is not building as expected, installing Jekyll allows you to view the site locally on your computer. The following should get you going -- for more information, see GitHub's [Using Jekyll with Pages](https://help.github.com/articles/using-jekyll-with-pages/) article.

### Install Ruby

First you will need to install Ruby on your system.

* If you are running Mac OS X, no need - it's already installed.
* If you're on Windows, you'll find an installer on <http://rubyinstaller.org/downloads>. Also install the appropriate *Development kit* (which you'll find on the same website). Make sure to add the Ruby and DevKit executables to your PATH.

### Install the Bundler gem

Once you have Ruby, you will need to install the [Bundler gem](http://bundler.io/) by running `gem install bundler`.

### Install Jekyll

GitHub provides a [Ruby gem](https://github.com/github/pages-gem) that automatically sets up [Jekyll](http://jekyllrb.com/) in a way that's compatible with GitHub Pages. To install it, navigate into the root directory of your repo and run `bundle install`.

### Run

Once everything is installed, you can run the following command:

`bundle exec jekyll serve`

This will tell Jekyll to compile your the site and serve it up locally on port 4000: <http://localhost:4000/moai-sdk/>.

As of version 2.4, the `serve` command will watch for changes automatically.
17 changes: 15 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
name: Moai SDK
markdown: redcarpet
pygments: true
highlighter: pygments
future: true
baseurl: /moai-sdk
baseurl: /moai-dev

collections:
docs:
output: true

defaults:
-
scope:
path: ""
type: docs
values:
layout: doc
order: 0
16 changes: 6 additions & 10 deletions _data/carousel.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
- caption: Broken Age
image: broken-age.jpg
blurb: Double Fine is using Moai to reinvent classic adventure game after a record-breaking Kickstarter campaign.
# This file defines which apps in what order appear on the carousel.
# Each item is the name of a .md file in the /games/_posts folder which contains the actual information.

- caption: Strikefleet Omega
image: strikefleet-omega.jpg
blurb: Harebrained Schemes used Moai to create their game that plays like a hybrid of tower defense and a real-time strategy.

- caption: Freedom Fall
image: freedom-fall.jpg
blurb: Stirfire studios made this awesome platform game using the Moai SDK and released on Steam.
- 2014-01-14-broken-age-1
- 2014-05-01-elevate
- 2014-09-14-cannibal-cookout
- 2014-11-01-land-of-venn
56 changes: 56 additions & 0 deletions _data/platforms.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# This file defines the platforms games on the Games page can support.
# Don't add vendor-specific devices (Amazon uses Android) or app stores here.
# Within each category, platforms are sorted by decreasing popularity.

# Mobile

ios:
title: iOS
image: img/icons/ios.svg
category: Mobile

android:
title: Android
image: img/icons/android.svg
category: Mobile

# Desktop

windows:
title: Windows
image: img/icons/windows.svg
category: Desktop

mac:
title: OS X
image: img/icons/mac.svg
category: Desktop

linux:
title: Linux
image: img/icons/linux.svg
category: Desktop

# Console

ps4:
title: PlayStation 4
image: img/icons/playstation.svg
category: Console

vita:
title: PlayStation Vita
image: img/icons/playstation.svg
category: Console

ouya:
title: Ouya
image: img/icons/ouya.svg
category: Console

# Other

chrome:
title: Google Chrome
image: img/icons/chrome.svg
category: Other
4 changes: 3 additions & 1 deletion _data/sections.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
starting: 'Getting Started'
basics: 'Moai Basics'
sdk: 'The Moai SDK'
buildsdk: 'Build the SDK from Source'
building: 'Building Moai Games'
reference: 'Reference'
tutorial: 'Tutorials'
Loading