Since deciding to use Phaser and needing to host it locally in order to test it, I discovered a simple webserver, which is great for testing without having to setup Apache or Nginx.
I found it through the Phaser setup tutorial - it's a really useful thing to know (and when I learnt basic Flask, I should have realised it existed then). It turns out that Python has a very basic HTTP server included - which Flask uses. This can be set up either just to run on a particular directory or a custom script can be run beforehand, should you require any particular setup.
This is the article I read originally. I'm ridiculously pleased that I don't have to fiddle with proper webservers and just get on with playing with Phaser.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.