graememcc / micropolisJS

A port of Micropolis to JS/HTML5
Other
647 stars 95 forks source link

running on local? #15

Open ekremkaraca opened 10 years ago

ekremkaraca commented 10 years ago

Hey guys,

I'd like to run it on local, however there is no helpful description neither README nor wiki. I've grabbed the code, get required libs via npm install, build grunt tasks without errors. And then, ...

davidwesst commented 10 years ago

I think all you should have to do from there run a local web server (like http-server in Node) or IIS, to serve up index.html.

I tried that, and it worked just fine for me.

davidwesst commented 10 years ago

Correction: When I was trying to run from the source code (not from dist) I got a minor error in IE11 saying that onMove was not defined as MonsterTV.js runs with "use strict" easy fix though. Pull request will follow shortly.