An implementation of @ramiismail's presskit() using Assemble - a Node.js/Grunt.js based static site builder.
This is currently in active development and should be considered a beta. Please contact Chase Pettit via e-mail or Twitter with any issues or suggestions. Thanks.
presskit() (pronounced 'do presskit') was originally developed by Vlambeer's Rami Ismail to be a quick and easy solution for developers to share everything that the press needs to write timely and well-informed articles.
nodepresskit is derived directly from the original presskit(), but it offers some options that might be preferable for some. Primarily, nodepresskit is intended to make the presskit() site fully static - removing the need for PHP and opening up cheaper, easier, and more robust hosting options such as Amazon S3.
- No PHP required. - Removing the need for PHP makes presskit() a fully static site. This means that you can now opt for static site hosting options like Amazon S3 that are significantly cheaper and easier to maintain than shared hosting or a VPS, and rock-solid enough to handle the massive amount of traffic your site will generate.
- YAML data files. - YAML offers a cleaner and simpler syntax over XML, making it easier for you to fill in your info and move on with your actual work.
- Handlebars.js templates. - Instead of using PHP to generate your site, nodepresskit uses Handlebars.js templates which are far easier to understand if you ever feel the need to customize them.
- Based on Twitter Bootstrap. - This is honestly more of a personal preference thing. I just prefer Bootstrap over UIKit and have more experience working with it.
- NPM is included with Node.js - if you don't already have it, you can get it at http://nodejs.org/. Verify your install by running the following command at the command line:
npm -v
- With NPM installed, you can install the Grunt.js CLI (command line interface) by running the following command at the command line:
npm install -g grunt-cli
Do one of the following:
- Download a .zip archive of this project.
- From the command line:
git clone git://github.com/Chaser324/nodepresskit.git
cd
into this project's directory and run the following command:
npm install
Everything you need to edit is inside of the data
directory.
- Edit the
company.yml
file with all of the information about your studio. - Put all studio relevant photos/screenshots and logos (.jpg/.png/.gif) into the
images
andlogos
directories respectively. Optionally, you can include a single .zip archive in each directory. - Put a
header.{png/jpg/gif}
image in theimages
directory to be displayed at the top of the page. - Put videos into the
trailers
directory and edit yourcompany.yml
file with mp4 tags referring to the individual filenames.
All of your projects live in the data/games
directory. Refer to the sample_game
for an example.
- It is recommended that you copy the
sample_game
directory and rename it to the title of your project - all lowercase and replacing whitespace with underscores. - Edit the
game.yml
file with information about the project. - Put all screenshots and logos (.jpg/.png/.gif) into the game's
images
andlogos
directories respectively. Optionally, you can include a single .zip archive in each directory. - Put a
header.{png/jpg/gif}
image in theimages
directory to be displayed at the top of the page. - Put videos into the
trailers
directory and edit yourgame.yml
file with mp4 tags referring to the individual filenames.
- To preview your site, run
grunt dev
at the command line and point your browser to http://localhost:8080 (press CTRL-C to stop previewing). - To do a final build, just run
grunt
from the command line. - Upload the contents of the
dist
directory to your server.
Rami Ismail - Author of the original presskit(), Business & Development @ Vlambeer - Twitter, GitHub
Chase Pettit - Author of nodepresskit - Twitter, GitHub
The entire indie games community at large for being so incredibly supportive and inspiring.