SohwStats and Debug

Post your help queries and engine programming questions here

Re: SohwStats and Debug

Postby Sandstedt » Wed Nov 02, 2016 10:51 am

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
User avatar
Sandstedt
 
Posts: 15
Joined: Fri Oct 21, 2016 4:17 pm

Re: SohwStats and Debug

Postby RiaanPie » Thu Nov 03, 2016 8:26 am

Thank you Sandstedt. I am going to give that a try and feedback the results.
RiaanPie
 
Posts: 20
Joined: Fri Jul 22, 2016 2:20 pm

Previous

Return to Help & Questions

Who is online

Users browsing this forum: No registered users and 1 guest
cron