New Chapter Setup - nodeschool/organizers GitHub Wiki

The definitive guide to setting up a NodeSchool chapter is a README file on the Organizer repo.

The rest of the content on this page has simply been transitioned from the wiki on NodeSchool Discussions.

Before you start with a workshopper

  1. Please Install node as preparation
  2. Create a folder in a directory and always work in there
  3. If you have a problem make sure that you read the description carefully
  4. Chat with us if you are stressed out.

Creating an event

  1. Read this guide
  2. Read these tips
  3. Create an issue for it for the country: NodeSchool [Country]
  4. Create a wiki page for the country NodeSchool [Country]
  5. Use one of the other wiki pages and issues as the templates
  6. Get invited to the ti.to event page by posting your email here
  7. Create a ti.to page for your event
  8. Create a lanyrd.com page event for your event
  9. Add your event to this spreadsheet

  • There are images here you can use

Event sponsorship

NodeSchool events are community events, run by the community for the community, with the goal of a learning and mentoring experience focused around the NodeSchool.io courses.

Company involvement is welcomed, suggestions:

  • Providing swag (stickers, freebies, shirts, etc)
  • Providing drinks, food, etc
  • Providing mentors (and attendees)
  • Providing transport/flights/accommodation/couches for mentors that live a bit out of the way
  • Providing venue

Notes:

  • Attempts to co-opt an event are likely to backfire in PR terms
  • Developers are not likely to receive direct recruitment very well, so take it easy on that front!

Contribute and play nicely as a member of the community and you're more likely to get bang for your buck.

Installation instructions

System

Windows

  1. Use the [Installer](http://nodejs.org/ to install Node.js.
  2. Install Git
  3. Restart the computer (to make sure the PATH variable is set properly)
Starting

1.) Open the Node.js command prompt:

screenshot 2015-01-20 02 34 29

2.) Enter node or npm in the command line to run a script or install a package.

$ npm install learnyounode -g
C/C++ compilation

Some workshoppers (or Node modules in general) have c bindings to compile those on windows you will need the Microsoft Visual Studio installed.

Mac

If you have homebrew installed it is recommended to use it to install node because it will set your path and permissions settings properly:

Important: If you decide to use brew then you should install xcode BEFORE you install brew. It seems like the installation has might have problems if you try to do it otherwise.

$ brew install node

If you don't feel like using homebrew you can also use the Installer. However: Please note that the installer will setup your system in a way that requires you to install global packages as sudo.

npm install learnyounode -g becomes sudo npm install learnyounode -g

Note: In our experience it turned out that the Installer can come with a broken permissions (EACCESS errors). Perhaps the simplest way to deal with this is to uninstall node and reinstall it using brew

C/C++ installation

Some workshoppers (or Node modules in general) have c bindings to compile those on mac you will need XCode installed.

Path

Some installations show this error: -bash: javascripting: command not found. It seems like this guide is of good help.

Fedora/RHEL/CentOS

The easiest way to install Node.js is to use the script provided by NodeSource to install current Node.js LTS.

Execute the following command in the terminal and follow the instructions on screen.

curl -sL https://rpm.nodesource.com/setup_6.x | sudo bash -

Ubuntu/Debian

The default repository of ubuntu comes with an old version of node. Follow the instructions here to make sure you end up with the latest: https://github.com/joyent/node/wiki/installing-node.js-via-package-manager#debian-and-ubuntu-based-linux-distributions

Also, some linux distributions install nodejs not as node executable but as nodejs.

In this case you have to manually link to node as many packages are programmed after the node binary. Something similar also occurs with python2 not linked to python.

In this case you can do an easy symlink. For linux distributions which install package binaries to /usr/bin you can do

ln -s /usr/bin/nodejs /usr/bin/node

(from http://stackoverflow.com/a/20890795/934273)

RaspberryPI

@StampedePress wrote up an nice blogpost about installing Node.js for NodeSchool on a Raspberry Pi here. The gist is:

  1. Use Raspbian
  2. Update to the latest version with sudo apt-get update and sudo apt-get upgrade¥
  3. Install Node.js from: http://node-arm.herokuapp.com/node_latest_armhf.deb