Based on Powder.js
Latest Node.js + NPM
Latest MongoDB
Bower (get by running "npm install -g bower")
Gulp (get by running "npm install -g gulp")
Clone & do "npm install"
Change config.js to your needs
For debugging just run "gulp"
For release run "gulp build" to compile js and css and then run "npm start" (or "./bin/context")
Assuming you have vagrant installed, you can run conTEXT with few simple commands:
vagrant up
to init & start vagrant environmentvagrant ssh
cd /vagrant
npm install
gulp
Assuming you have docker installed, you can run conTEXT with few simple commands:
npm install
be sure to copy config.example.js
to config.js
manually.docker pull dockerfile/mongodb
.docker run -d --name mongodb -v /data/db:/data/db dockerfile/mongodb
.exports.db = 'mongodb://' + process.env.MONGODB_PORT_28017_TCP_ADDR + '/context';
docker build -t context .
to build new docker imagedocker run -d -p 8080:8080 context
(you will need to add --link mongodb:mongodb
if you want to link it with your MongoDB container)Run "npm test"
MIT