Node.js is just JavaScript running on the server side. That's it. That's all there is to it.
- Express Docs, if you want to get started and already know JavaScript this is the place to be
#!/bin/sh | |
# | |
# Build a chroot with a CentOS 6.5 base install. | |
# | |
CHROOT=/tmp/chroot | |
mkdir -p $CHROOT | |
mkdir -p $CHROOT/var/lib/rpm |
vagrant box add smartos http://cuddletech.com/tmp/smartos-latest.box | |
mkdir smartos && cd smartos | |
vagrant init smartos | |
vagrant up | |
vagrant ssh |
Node.js is just JavaScript running on the server side. That's it. That's all there is to it.
#!/usr/bin/env bash | |
# | |
# Add new version of nodejs to a SmartMachine | |
# | |
# Check to see if script is being run as the root user | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root. Aborting..." 1>&2 | |
exit 1 |