MinervaJS is a tool for publishing and finding Javascript Libraries, and weaving them together.
To run Minerva locally you need NodeJS, CouchDB, Redis, and the Heroku Toolbelt. If you're on a Mac and have Homebrew, try:
brew install node couchdb redis heroku-toolbelt
You will also need node.couchapp.js, so npm install -g couchapp
You will also need a Google Oauth 2 API key.
git clone git://github.com/minervajs/Minerva.git
cd Minerva
- Create a
.env
with the following credentials:
CLIENT_ID=[google client id]
CLIENT_SECRET=[google client secret]
COOKIE_SECRET=[secret used for cookies]
CLOUDANT_URL=[couchdb url (with credentials)]
npm start
. This first time will create the database.- CTRL-C to close the server.
couchapp push couchapp.js [couchdb url (with credentials)]/minerva
npm start
open http://localhost:5000