You need the following software to use the Forge Graphics Server:
node
bower
- A terminal to type commands at (e.g. Windows PowerShell)
- It is also recommended to have
git
installed and to know the basics of how to use it (here's a great tutorial/reference: https://www.atlassian.com/git/tutorials/what-is-version-control)
- Run
git clone [url]
to clone the repository (the URL is probablyhttps://github.com/forgemedia/forge-graphics.git
orhttp://bitbucket.org/forgemedia/forge-graphics.git
) - Run
cd [folder]
to change to the folder the repository was cloned to (probablyforge-graphics
)
- (optional but recommended) Run
git pull
to check for and download updates. The default git branch isvarsity
, and some versions that were used live in Forge productions have tags. - Run
npm install
- Run
bower install
- Run
node server.js
- The character generator can be found at
localhost:3000
(add this to a BrowserSource in OBS Studio) - The control dashboard can be found at
localhost:3000/dashboard
(in a web browser)
- Run
grunt
to compile - Run
grunt watch
to watch for changes to JS and SCSS files - Run
node server.js --debug
to output debug messages - Use
nodemon
to monitor for changes to server.js as the server is running - Use
grunt dev
to run watch andnodemon
(with debug) at the same time