Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Commit

Permalink
NPM Package + Set Up and Run Instructions in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bencevans committed Jun 3, 2012
1 parent ce42a2c commit 57943ef
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,26 @@

WaterMe is in two modules the Web module which is in the repository your looking at and the DataWorker/Feeder Located at [https://github.com/RHoKSoton/WaterMeFeeder](https://github.com/RHoKSoton/WaterMeFeeder).

For an insite into what this project does go to the RHoK (Random Hacks of Kindness) Entry at [http://www.rhok.org/problems/development-operational-water-stress-product-satellite-imagery](http://www.rhok.org/problems/development-operational-water-stress-product-satellite-imagery)
For an insite into what this project does go to the RHoK (Random Hacks of Kindness) Entry at [http://www.rhok.org/problems/development-operational-water-stress-product-satellite-imagery](http://www.rhok.org/problems/development-operational-water-stress-product-satellite-imagery)

##SetUp and Run

####Requirements:

* [MySQL Database](http://dev.mysql.com/downloads/mysql/) with data from the [Feeder](https://github.com/RHoKSoton/WaterMeFeeder)
* [NodeJS](http://nodejs.org/)
* [NPM (Node Package Manager)](http://npmjs.org/)

####Set Up

You Shall need to install the node libraries/dependancies by running the following when in the root of the directory.

npm install .

####Running

Run the command:

node server.js

Then open your web browser and goto [http://localhost:3000/](http://localhost:3000)
21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"author": "RHoKSoton",
"name": "WaterMe",
"description": "Visualises the amount of water in foliage using satellite data.",
"version": "0.0.0",
"homepage": "https://github.com/RHoKSoton/WaterMe",
"repository": {
"type": "git",
"url": "git://github.com/RHoKSoton/WaterMe.git"
},
"dependencies": {
"express":"2.5.9",
"mysql":"2.0.0-alpha2",
"ejs":"0.7.1"
},
"devDependencies": {},
"optionalDependencies": {},
"engines": {
"node": "*"
}
}

0 comments on commit 57943ef

Please sign in to comment.