Game Deployment on Nodejitsu - mattzhao92/Planet-Blitz GitHub Wiki
To deploy the game onto the Nodejitsu server, first navigate to the game root directory.
-
Install the nodejitsu:
npm install jitsu -g
You may have to run the above as root (using sudo
)
-
Login to the Nodejitsu with username and password:
jitsu login
username: kmarkkk
-
The deploy configuration file is called "package.json" currently. Basically it requires the following info:
**App domain**: "subdomain" **App deploy version**: "version" **App portal**: "start" **App dependencies**: "dependencies"
-
Deploy the app, and follow the command line:
jitsu deploy
Alternately use jitsu deploy --release patch
. This skips the confirmation message of whether you want to auto-increment the package version.
For more information read https://www.nodejitsu.com/documentation/jitsu/deploy/.
The app should now be available at blitz.nodejitsu.com.
The max size of the deploy directory is 30MB