Created
June 7, 2012 10:01
-
-
Save cognominal/2887964 to your computer and use it in GitHub Desktop.
Installling a Smalled-Federated-Wiki node express server on a raw ubuntu host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installling a Smalled-Federated-Wiki node express server on a raw ubuntu host | |
# | |
# nodejs is a js server side environment based on the chrome browser v8 engine | |
sudo apt-get install nodejs | |
# npm is the de facto package manager for node | |
sudo apt-get install npm | |
# necessary for the upcoming 'git clone' | |
sudo apt-get install git | |
# we store our gits depot in ~/git | |
mkdir ~/git | |
cd ~/git | |
# clone SFW which contains three possible servers: | |
# a ruby/sinatra, a nodejs/express and an arduino based one | |
git clone https://github.com/WardCunningham/Smallest-Federated-Wiki.git | |
# we will use express node web server | |
cd Smallest-Federated-Wiki/server/express | |
# transitively install all the dependencies specified in package.json | |
npm install . | |
# we can now run sfw that will be accessible thru the port 3000 | |
node bin/server.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment