Support #647
Updated by Daniel Curtis over 9 years ago
This is a guide on installing JSbin on FreeBSD. h2. Prepare the system * Make sure the system is up to date: <pre> pkg update && pkg upgrade </pre> h2. Install JSbin * Create a working source directory: <pre> mkdir /usr/local/src && cd /usr/local/src </pre> * Clone JSbin from GitHub: <pre> git clone https://github.com/remy/jsbin.git cd jsbin </pre> * Install the latest sqlite3 master branch: <pre> npm install -g https://github.com/mapbox/node-sqlite3/tarball/master --sqlite=/usr/local </pre> * Install node-gyp globally: <pre> npm install node-gyp -g </pre> * Install grunt-cli globally using npm: <pre> npm install -g grunt-cli </pre> * Edit the package.json file: <pre> vi package.json </pre> #* Then change the sqlite3 version: <pre> "sqlite3": "~3.0.10", </pre> #* And add the @chai@ package to the <pre> "devDependencies": { "grunt": "~0.4.1", "grunt-contrib-concat": "~0.3.0", "grunt-contrib-jshint": "~0.1.1", "grunt-contrib-uglify": "~0.2.2", "should": "~1.2.2", "sinon": "~1.7.3", "grunt-cli": "~0.1.11", "mocha-casperjs": "~0.5.0", "hbs-utils": "0.0.3", "mocha": "~1.21.4", "chai": "~1.10" }, </pre> * Then install the developer dependencies: <pre> npm install -g --dev </pre> h2. Resources * https://github.com/jsbin/jsbin/blob/master/docs/running-your-own-jsbin.md