Skip to content

Commit

Permalink
Built Yeoman.io from commit b9db32a on branch (unavailable)
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis-CI committed Apr 4, 2015
1 parent 8f6d49b commit 0a90d95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blog/atom.xml
Expand Up @@ -4,7 +4,7 @@
<title>Yeoman Blog</title>
<link href="http://yeoman.io/blog/atom.xml" rel="self"/>
<link href="http://yeoman.io"/>
<updated>2015-04-04T12:10:08+00:00</updated>
<updated>2015-04-04T20:27:33+00:00</updated>
<id>http://yeoman.io/</id>
<author>
<name>Yeoman.io</name>
Expand Down
3 changes: 2 additions & 1 deletion codelab/setup.html
@@ -1,5 +1,6 @@
<!doctype html><html lang=en><head><meta charset=utf-8><title>Yeoman - Modern workflows for modern webapps</title><meta name=viewport content="width=device-width"><link href="http://fonts.googleapis.com/css?family=Roboto+Slab:400,700|Roboto:400,700,700italic,400italic" rel=stylesheet type=text/css><link rel=stylesheet href=/assets/css/main.3009.css><link href=/blog/atom.xml type=application/atom+xml rel=alternate title="Yeoman Blog Atom Feed"></head><body class=""><header class=page-header><div class=container><div class=mobile-bar><h1 class=logo><a href="/"><img src=/assets/img/logo.0c47.png alt=Yeoman></a></h1><button class="mobile-menu-toggle ir">open</button></div><nav class=main-menu><ul class=main-nav><li><a href=/learning>Using Yeoman</a><ul><li><a href=/learning/index.html>Getting started</a></li><li><a href=/codelab.html>Tutorial (codelab)</a></li><li><a href=/learning/resources.html>Resources</a></li><li><a href=/learning/deployment.html>Deployment</a></li><li><a href=/learning/faq.html>FAQ</a></li><li><a href=/learning/support.html>Support</a></li></ul></li><li><a href=/generators>Discovering generators</a></li><li><a href=/authoring>Creating a generator</a><ul><li><a href=/authoring/index.html>Getting started</a></li><li><a href=/authoring/running-context.html>Running Context</a></li><li><a href=/authoring/user-interactions.html>User Interactions</a></li><li><a href=/authoring/composability.html>Composability</a></li><li><a href=/authoring/dependencies.html>Managing Dependencies</a></li><li><a href=/authoring/file-system.html>Interacting with the file system</a></li><li><a href=/authoring/gruntfile.html>Creating a Gruntfile</a></li><li><a href=/authoring/storage.html>Storing user configs</a></li><li><a href=/authoring/testing.html>Unit testing</a></li><li><a href=/authoring/integrating-yeoman.html>Integrating Yeoman in other tools</a></li><li><a href="http://yeoman.github.io/generator/">Full API documentation</a></li></ul></li><li><a href=/blog>Blog</a></li><li><a href=/contributing>Contributing</a><ul><li><a href=/contributing/index.html>Contributing</a></li><li><a href=/contributing/opening-issues.html>How to open an issue</a></li><li><a href=/contributing/pull-request.html>How to submit a PR</a></li><li><a href=/contributing/style-guide.html>Style Guide</a></li><li><a href=/contributing/testing-guidelines.html>Testing Guidelines</a></li><li><a href=/contributing/ticketing.html>Issue system overview</a></li></ul></li></ul></nav></div><!-- /.container --></header><!-- /.page-header --><div id=content><h2 class=page-title><div class=container></div></h2><div class="container has-sidebar clearfix"><nav class=context-nav><ul><li><a href=/codelab.html>Let's Scaffold a Web App</a></li><li><a href=/codelab/meet-yeoman.html>Meet Yeoman</a></li><li><a href=/codelab/setup.html class=active>Step 1</a></li><li><a href=/codelab/install-generators.html>Step 2</a></li><li><a href=/codelab/scaffold-app.html>Step 3</a></li><li><a href=/codelab/review-generated-files.html>Step 4</a></li><li><a href=/codelab/preview-inbrowser.html>Step 5</a></li><li><a href=/codelab/write-app.html>Step 6</a></li><li><a href=/codelab/install-packages.html>Step 7</a></li><li><a href=/codelab/write-unit-tests.html>Step 8</a></li><li><a href=/codelab/prepare-production.html>Step 9</a></li><li><a href=/codelab/local-storage.html>Step 10</a></li><li><a href=/codelab/keep-going.html>Keep going</a></li></ul></nav><article class=main><section class=content-chunk><h1>Step 1: Set up your dev environment</h1><p class=mast-holder><img src=/assets/img/yeoman-004.58b6.png></p><p>Most of your interactions with Yeoman will be through the command line. Run commands in the Terminal app if you’re on Mac, your shell in Linux, or <a href="http://bliker.github.io/cmder/"><code>cmder</code></a> <em>(preferably)</em> / PowerShell / <code>cmd.exe</code> if you are on Windows.</p><h2>Install prerequisites</h2><p>Before installing Yeoman, you will need the following:</p><ul><li>Node.js v0.10.x+</li><li>npm (which comes bundled with Node) v2.1.0+</li><li>git</li></ul><p>You can check if you have Node and npm installed by typing:</p><div class=highlight><pre><code class="sh language-sh" data-lang=sh>node --version <span class=o>&amp;&amp;</span> npm --version
</code></pre></div><p>If you need to upgrade or install Node, the easiest way is to use an installer for your platform. Download the <em>.msi</em> for Windows or <em>.pkg</em> for Mac from the <a href="http://nodejs.org/download/">NodeJS website</a>.</p><p>You can check if you have Git installed by typing:</p><div class=highlight><pre><code class="sh language-sh" data-lang=sh>git --version
</code></pre></div><p>If you need to upgrade or install Node, the easiest way is to use an installer for your platform. Download the <em>.msi</em> for Windows or <em>.pkg</em> for Mac from the <a href="http://nodejs.org/download/">NodeJS website</a>.</p><p>The <a href="https://www.npmjs.com/">npm</a> package manager is bundled with Node, although you might need to update it. Some Node versions ship with rather old versions of npm. You can update npm using this command:</p><div class=highlight><pre><code class="sh language-sh" data-lang=sh>npm install --global npm@latest
</code></pre></div><p>You can check if you have Git installed by typing:</p><div class=highlight><pre><code class="sh language-sh" data-lang=sh>git --version
</code></pre></div><p>If you don&#39;t have Git, grab the installers from the <a href="http://git-scm.com/">git website</a>.</p><h2>Install the Yeoman toolset</h2><p>Once you’ve got Node installed, install the Yeoman toolset:</p><div class=highlight><pre><code class="sh language-sh" data-lang=sh>npm install --global yo bower grunt-cli
</code></pre></div><div class="note important"><h2>Errors?</h2><p>If you see permission or access errors, such as permission (`EPERM`) or access errors (`EACCESS`), do not use <code>sudo</code> as a work-around.<br>Consult <a href=https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md>this page</a> for a more robust solution to the permissions errors.</p></div><h2>Confirm installation</h2><p>It is a good idea to check that everything is installed as expected by running commonly used Yeoman commands like <code>yo</code>, <code>bower</code>, and <code>grunt</code> with the <code>--version</code> flag as follows:</p><div class=highlight><pre><code class="sh language-sh" data-lang=sh>yo --version <span class=o>&amp;&amp;</span> bower --version <span class=o>&amp;&amp;</span> grunt --version
</code></pre></div><p>Running the above should output three separate version numbers:</p><ul><li>Yeoman</li><li>Bower</li><li>Grunt CLI (the command-line interface for Grunt)</li></ul><div class="note important"><h2>Versions of the CLI tools that this codelab works with</h2><p>Technology changes quickly! This tutorial has been tested with <strong>Yeoman 1.4.6</strong>, <strong>Bower 1.4.1</strong>, and <strong>grunt-cli v0.1.13</strong>. If you are running into issues with a newer version, we would like to hear about it. Please open up an issue on our <a href=https://github.com/yeoman/yeoman.io/issues>tracker</a>.</p></div><p class=codelab-paging><a href=../codelab.html#toc>&laquo; Return to overview</a> or <a href=install-generators.html>Go to the next step &raquo;</a></p><div class=social><a href=https://twitter.com/share class=twitter-share-button data-text="Let's Scaffold A Web App With @Yeoman!" data-url=http://yeoman.io/codelab.html>Tweet</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script><script src=https://apis.google.com/js/plusone.js></script><g:plus action=share></g:plus></div></section></article></div></div><footer class=page-footer><ul class="footer-links footer-links-social"><li><a href=https://plus.google.com/101063139999404044459/posts class=icon><img src=/assets/img/social-gplus.cdac.svg alt=Google+></a></li><li><a href=http://twitter.com/yeoman class=icon><img src=/assets/img/social-twitter.60eb.svg alt=Twitter></a></li><li><a href=http://github.com/yeoman/yeoman class=icon><img src=/assets/img/social-github.7679.svg alt=Github></a></li><li><a href=/blog/atom.xml class=icon><img src=/assets/img/social-feed.c635.svg alt=Feed></a></li></ul><ul class="footer-links footer-links-contribute"><li><a href="http://yeoman.github.io/generator/" class=btn>API</a></li><li><a href=https://github.com/yeoman/yeoman.io/blob/master/app/codelab/setup.md class="btn btn-improve" title="Edit this page on Github to help improve the site">Improve this page</a></li></ul></footer><!-- /.footer-links --><script src=//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js></script><script src=/assets/js/scripts.7031.js></script><script>// $script.js - github.com/ded/script.js
Expand Down

0 comments on commit 0a90d95

Please sign in to comment.