Skip to content

Obtaining A Working Copy

metincansiper edited this page Aug 8, 2016 · 1 revision

Instructions to obtain a working copy of ChiSE.js

Introduction

ChiSE.js is a client-side web application built on Java Script technology. Since it does not have any server-side components, it is relatively easy to setup a local working copy.

Getting The Source Code

You can get the source by typing the following command under console:

git clone https://github.com/iVis-at-Bilkent/chise.js.git

You will need Git to be installed in order to checkout the code.

Installing Libraries From npm

You can install the required libraries from npm by typing the following command under console:

cd chise.js

npm install

Deploying The Application

After getting the source code you can deploy the code by typing the following commands under console:

docker pull cannin/nodejs-http-server

docker run --name chise -p 8080:8080 -v FULL_PATH/chise.js:/chise.js -w /chise.js -t cannin/nodejs-http-server

Running The Application

Once deployed, you can access the application through your server on http://localhost:8080/sample-app/

Clone this wiki locally