Project

General

Profile

Support #648

Updated by Daniel Curtis over 8 years ago

This is a guide on installing JSbin on Debian 8. 

 h2. Prepare the System 

 * Make sure the system is up to date: 
 <pre> 
 apt-get update && apt-get upgrade 
 </pre> 

 h2. Install JSbin 

 * Install curl: 
 <pre> 
 apt-get install curl 
 </pre> 

 * Install nodejs and npm: 
 <pre> 
 curl -sL https://deb.nodesource.com/setup_0.10 | bash - 
 apt-get install -y nodejs 
 </pre> 

 * Install JSbin using npm: 
 <pre> 
 npm install -g jsbin 
 </pre> 

 * Create a new config file and edit it as necessary: 
 <pre> 
 cd /usr/lib/node_modules/jsbin 
 cp config.default.json config.local.json 
 </pre> 

 * Test JSbin in development mode: 
 <pre> 
 jsbin 
 </pre> 
 #* Go to http://localhost:3000 in a web browser 

 * Setup JSbin for production: 
 <pre> 
 npm install -g grunt-cli 
 npm install --dev 
 grunt build 
 </pre> 

 h2. Resources 

 * https://github.com/jsbin/jsbin/blob/master/docs/running-your-own-jsbin.md 
 * https://github.com/nodesource/distributions

Back