This tutorial has been updated to support the latest version of the Gallery. If you are looking for the old docs, they have been moved here.
This tutorial assumes you already have Git
installed and working. If you don't, see Tutorial: Set Up Your Git Environment for more info, also be sure to sign our CLA if you haven't already before you contribute to YUI.
All YUI tools are written in Node.js and is required to continue. Please install the latest version before continuing.
yogi
yogi
is the command line helper designed to help you with your gallery modules. You can
install it with the following command:
npm -g install yogi
yogi can talk to the YUILibrary.com and GitHub, but first you have to tell her who you are.
You can always as her, like this: yogi whoami
. She will either show you your username or she will tell you to login.
You can authenticate with the YUILibrary website by simply asking her to login: yogi login
.
You can find more information in the yogi
documentation.
yogi
officially fully supports new Gallery modules. The YUI Gallery upgrade is deployed and will be used as
the default gallery system from now on. These updates came with a few new features:
shifter
yogi
For a complete information visit the yogi
documentation.
After you create your module, issuing a new CDN Request is as simple as yogi cdn request
For a complete information visit the yogi
documentation.
In this talk YUI engineer Tony Pipkin provides a step-by-step walkthrough of building and deploying a
module to the new YUI Gallery using yogi
. Tony goes over a variety of yogi functions and demonstrates
how to properly assemble configuration files and setup your code to make YUI gallery submission practically effortless.