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

[WIP] Add Getting Started guide #390

Open
wants to merge 2 commits into
base: source
Choose a base branch
from
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ <h1 class="name">nodeschool</h1>
<p class="subtitle" data-i18n="index-header-top">Open source workshops that teach web software skills. Do them on your own or at a workshop nearby.</p>
<nav role="navigation">
<ul class="nav">
<li><a href="start.html" data-i18n="menu-start">Getting Started</a></li>
<li><a href="#workshoppers" data-i18n="menu-tutorials">Tutorials</a></li>
<li><a href="events.html" data-i18n="menu-events">Events</a></li>
<li><a href="chapters.html" data-i18n="menu-chapters">Chapters</a></li>
Expand All @@ -59,7 +60,7 @@ <h1 class="name">nodeschool</h1>
<li><a href="host.html" data-i18n="menu-host">Host</a></li>
</ul>
</nav>
<p><span data-i18n="index-header-bottom">Get started by installing one of our</span> <a class="big-link" href="#workshopper-list">core workshops</a> <span data-i18n="index-header-bottomA">or subscribe to our free </span><a data-i18n="index-header-bottomB" class="big-link" href="https://tinyletter.com/nodeschool" target="_blank">email newsletter</a>.</p>
<p><span data-i18n="index-header-bottom">Get started by reading our</span> <a class="big-link" href="start.html#main">intro guide</a> <span data-i18n="index-header-bottomA">or subscribe to our free </span><a data-i18n="index-header-bottomB" class="big-link" href="https://tinyletter.com/nodeschool" target="_blank">email newsletter</a>.</p>
</div>
</div>
</header>
Expand Down Expand Up @@ -161,11 +162,7 @@ <h2 class="big-heading" data-i18n="index-workshopper-header">Workshoppers</h2>
<div class="third">
<div id="get-going">
<h3 data-i18n="index-get-going-header">Get Going &#x2014;</h3>
<p><span data-i18n="index-get-going-info">You&#x2019;ll need</span> <a href="http://nodejs.org">Node.js</a> <span data-i18n="index-get-going-info2">on your computer to get started
with each of these. Then use</span> <a href="http://npmjs.org">npm</a> <span data-i18n="index-get-going-info3">(it comes with Node) to install each
module with the command below it. Once installed,
simply type the workshopper&#x2019;s name to launch.</span></p>
<p><span data-i18n="index-get-going-editor">You will also need a</span> <strong data-i18n="index-get-going-editor2">Text Editor</strong><span data-i18n="index-get-going-editor3">, if you don&apos;t have one already, you may want one for editing code. A few options:</span> <a href="http://www.atom.io">Atom</a><span data-i18n="index-get-going-editor4">,</span> <a href="http://www.sublimetext.com/3">Sublime Text</a><span data-i18n="index-get-going-editor5">,</span> <a href="http://macromates.com/download">Textmate</a><span data-i18n="index-get-going-editor6">,</span> <a href="http://brackets.io/">Brackets</a><span data-i18n="index-get-going-editor7">.</span></p>
<p>You&#x2019;ll need a few essensials before you can run your first Workshopper. Check out the <a href="start.html">Getting Started</a> guide to get going.</p>
</div>
</div>
</div>
Expand All @@ -177,6 +174,7 @@ <h3 data-i18n="index-get-going-header">Get Going &#x2014;</h3>
<div class="third">
<h3 data-i18n="index-workshoppers-core-header">Core</h3>
<p data-i18n="index-workshoppers-core-info">These workshoppers focus on essential skills for working with Node.js.</p>
<p>If you have never used Node.js before, you probably need to install Node.js first - In that case check out the <a href="start.html">Getting Started</a> guide.</p>
<p><span data-i18n="index-workshoppers-core-link-pre">Stuck? Ask a question in the</span> <a href="https://github.com/nodeschool/discussions/issues/new" target="_blank" data-i18n="index-workshoppers-core-link-text">discussion</a><span data-i18n="index-workshoppers-core-link-post">.</span></p>
</div>
<div class="third">
Expand Down
142 changes: 142 additions & 0 deletions native-modules.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
<!DOCTYPE html>
<html class="native">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/style.css">
<link rel="shortcut icon" href="/favicon.ico">
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Source+Code+Pro" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/mapbox.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NodeSchool - Installing Native Modules</title>
</head>
<body class="native">
<header>
<div class="container">
<div class="full">
<a href="index.html"><img class="logo" src="/images/schoolhouse.svg" alt="nodeschoolhouse"></a>
<ul class="nav">
<li><a href="index.html" data-i18n="menu-index">Home</a></li>
<li><a href="start.html" data-i18n="menu-start">Getting Started</a></li>
<li><a href="events.html" data-i18n="menu-events">Events</a></li>
<li><a href="chapters.html" data-i18n="menu-chapters">Chapters</a></li>
<li><a href="about.html" data-i18n="menu-about">About</a></li>
</ul>
</div>
</div>
</header>
<div id="main" name="main" role="main">
<div class="container" style="background-color: #fff;">
<div class="full">
<h1 data-i18n="native-h1">Installing Native Modules</h1>
<p data-i18n="native-header">Some npm modules require native dependencies to be compiled when they are being installed (a.k.a. "native modules"). This guide will help you prepare your system for compiling native modules.</p>
<nav>
<ul class="inner-nav">
<li><a href="#windows">Windows</a></li>
<li><a href="#osx">OS X</a></li>
<li><a href="#linux">Linux</a></li>
</ul>
</nav>
</div>

<div class="container" id="windows">
<div class="third">
<h3>Windows</h3>
</div>
<div class="two-thirds">
<p>You need to install Microsoft Visual Studio</p>
</div>
</div>

<div class="container" id="osx">
<div class="third">
<h3>OS X</h3>
</div>
<div class="two-thirds">
<p>You will need the Command Line Tool package from Apple to be able to compile and install native modules. As of OS X 10.9 (Mavericks, Yosemite, El Capitan and newer) just run the command below which will guide you through installing the Command Line Tool package:</p>
<div class="term">
<div class="chrome">
<span class="btn btn-term close"></span>
<span class="btn btn-term min"></span>
<span class="btn btn-term max"></span>
</div>
<div class="shell shell-narrow">
<code>xcode-select --install</code>
</div>
</div>
<p>If you have an earlier version of OS X, check out <a href="http://osxdaily.com/2012/07/06/install-gcc-without-xcode-in-mac-os-x/">this guide</a> instead.</p>
</div>
</div>

<div class="container" id="linux">
<div class="third">
<h3>Linux</h3>
</div>
<div class="two-thirds">
<p>You will need the <code>build-essential</code> package to be able to compile native modules. Follow the guide for your Linux distribution below to install it:</p>
<h4>Ubuntu</h4>
<div class="term">
<div class="chrome">
<span class="btn btn-term close"></span>
<span class="btn btn-term min"></span>
<span class="btn btn-term max"></span>
</div>
<div class="shell shell-narrow">
<code>sudo apt-get install -y build-essential</code>
</div>
</div>
<h4>Debian</h4>
<p>Run the following command as root</p>
<div class="term">
<div class="chrome">
<span class="btn btn-term close"></span>
<span class="btn btn-term min"></span>
<span class="btn btn-term max"></span>
</div>
<div class="shell shell-narrow">
<code>apt-get install -y build-essential</code>
</div>
</div>
</div>
</div>

</div>
</div>
<div class="container" style="background-color: #fff;">
<footer>
<div class="third">
<p><strong>nodeschool.io</strong></p>
<small>Photos by <a href="https://www.flickr.com/photos/matthewbergman" target="_blank">Matthew Bergman</a></small>
</div>
<div class="two-thirds">
<ul>
<li><strong data-i18n="footer-contact-header">Contact</strong></li>
<li><a href="https://twitter.com/nodeschool" target="_blank">t/@nodeschool</a></li>
<li><a href="https://github.com/nodeschool" target="_blank">gh/nodeschool</a></li>
</ul>
<ul>
<li><strong data-i18n="footer-contribute-header">Contribute</strong></li>
<li><a href="https://github.com/nodeschool/discussions/issues/new" target="_blank" data-i18n="footer-contribute-question">Open an Issue</a></li>
<li><a href="https://github.com/nodeschool/discussions/issues" target="_blank" data-i18n="footer-contribute-answer">Answer a Question</a></li>
</ul>
<ul>
<li><strong data-i18n="footer-about-header">About</strong></li>
<li><a href="building-workshops.html" data-i18n="footer-about-build">Build a workshopper</a></li>
<li><a href="host.html" data-i18n="footer-about-host">Host a workshop</a></li>
</ul>
</div>
</footer>
</div>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript" src="/js/dependencies.js"></script>
<script>
!function(s,c,h,O,o,l){s.GoogleAnalyticsObject=h;s[h]||(s[h]=function(){
(s[h].q=s[h].q||[]).push(arguments)});s[h].l=+new Date;o=c.createElement(O);
l=c.getElementsByTagName(O)[0];o.src='//www.google-analytics.com/analytics.js';
l.parentNode.insertBefore(o,l)}(window,document,'ga','script');

ga('create', 'UA-49267600-1', 'nodeschool.io');
ga('send', 'pageview');
</script>
</body>
</html>
Loading