Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by sdwrage

I know a lot of people here have been using L/M/WAMP, Ruby, or even Node.js to host your applications and this is perfectly fine... but what if you don't want to install all of that to get yourself going? With the advent of PHP 5.4, PHP now has its own self contained server that you can use. All you need to do is go to your command line and navigate to your folder (There are tutorials online on how to use command line).

Then you will need to type:

php -S localhost:7000

This will start a server for you to use. Now you can navigate to localhost:7000 in any browser to view your game (make sure your index file in in that folder).

Easy :)

1 decade ago by svenanders

Yep, use that all the time. Extremely handy.
Note that it's not a full featured server and won't work identical to a LAMP setup. For example, it won't loop sound or play sound effects more than one time.

1 decade ago by amadeus

If you're running on a Mac, you already have python installed which means you can simply drop the server.py file (7kb) from this github repo:

https://github.com/amadeus/python-impact

And run:

python server.py

And it will run a nice little server to use as you please for development.

Windows should work too, you'd just need python installed.

1 decade ago by svenanders

Great work amadeus!
Page 1 of 1
« first « previous next › last »