Page 2 of 2

Re: SohwStats and Debug

PostPosted: Wed Nov 02, 2016 10:51 am
by Sandstedt
RiaanPie wrote:Please help me to get rid of all the automatic console output?
I want to move to production but there's a ton of output that I dont want there.


You can add
Code: Select all
ige.debugEnabled(false);
to disable the ige logs. But it will still output the header "* Powered by the Isogenic Game Engine ...", that's hardcoded in IgeEngine.js row 30-34.

Make sure to run the deploy scripts to minify everything as well:

1. CD to the folder ige and run:
Code: Select all
node ./server/ige.js -deploy ../your-game-folder


2. Copy the css and assets folder to your-game-folder/deploy (and change the index.html file if anything has changed in that file)

3. Then you can just copy everything in the deploy folder over to your live server

Re: SohwStats and Debug

PostPosted: Thu Nov 03, 2016 8:26 am
by RiaanPie
Thank you Sandstedt. I am going to give that a try and feedback the results.