1 decade ago by mimik
If you are a Node.js fan you can easily run your impact environment without need need of something like xampp/wamp/lamp or a apache server with php.
If you have node.js go to your game folder.
install connect.
make a new file in yout folder:
server.js
Now just open console/terminal and run
node server
open your browser to
http://localhost:4242
Headsup! this will not work with Weltmeister.
For that you need something like this:
http://impactjs.com/forums/code/node-js-for-weltmeister
https://github.com/cpetzold/node-impact
https://github.com/drhayes/impact-dev-server
https://github.com/namuol/node-impact-weltmeister
If you have node.js go to your game folder.
install connect.
npm install connect
make a new file in yout folder:
server.js
var connect = require('connect'); connect.createServer( connect.static(__dirname) ).listen(4242); console.log('server running on http://localhost:4242')
Now just open console/terminal and run
node server
open your browser to
http://localhost:4242
Headsup! this will not work with Weltmeister.
For that you need something like this:
http://impactjs.com/forums/code/node-js-for-weltmeister
https://github.com/cpetzold/node-impact
https://github.com/drhayes/impact-dev-server
https://github.com/namuol/node-impact-weltmeister