graememcc / micropolisJS

A port of Micropolis to JS/HTML5
Other
632 stars 96 forks source link

running on local? #15

Open ekremkaraca opened 9 years ago

ekremkaraca commented 9 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 9 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 9 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.