These are chat archives for cmdPP/core

30th
Mar 2016
Russell Hueske
@ninja4826
Mar 30 2016 02:55
Docs have been created if you guys want to take a look!
Russell Hueske
@ninja4826
Mar 30 2016 08:41
Did you get the chance to install Node.JS?
Jett C
@jettcrowson
Mar 30 2016 21:56
I installed it, but how did you get the node to run on github pages?
Russell Hueske
@ninja4826
Mar 30 2016 21:57
Its a bit of a tricky process.
Whenever I create a release on GitHub, I add a file named "bundle.js" which is made by a build tool called Browserify. Then, when the github pages loads, a script is run by angular to get the latest release from the GitHub API, and from there, get the URL for the "bundle.js" file. I give that URL to an Angular plugin that loads scripts after the page has loaded, and once the script is loaded, I continue with setting up the game.
Node.JS isn't running on the GitHub pages. Its using the GitHub API to basically get the latest web release of the core project.
I am, however, in the middle of setting up a Node.js buildchain to build CSS from SASS files.
On the GitHub pages.
Russell Hueske
@ninja4826
Mar 30 2016 22:09
I gave a link to @Crownie88 to this, but I might as well share it here too. This is a little guide I threw together to kind of introduce you to Node.js
Jett C
@jettcrowson
Mar 30 2016 22:11
By the way your game looks and feels amazing
Russell Hueske
@ninja4826
Mar 30 2016 22:13
Thanks! I didn't make the terminal. I didn't feel like making one, so I found a little terminal emulator directive for Angular
Once everything is stable, I'm probably going to make my own
Russell Hueske
@ninja4826
Mar 30 2016 23:50
Any recommendations?