Skip to content
bendangelo edited this page May 24, 2012 · 6 revisions

Once the EntityJS gem has been installed, you can type in these commands in the terminal window.

List of all commands for the EntityJS Gem.

  • entityjs new mygame Creates a new game.
  • entityjs templates Display all game templates.
  • entityjs server Starts the server.
  • entityjs release Compiles the Entity source files and outputs it.
  • entityjs build Compiles all source and copys all assets into a finished game.
  • entityjs test mytest Creates a new js test file in /tests/.
  • entityjs comp mycomp Create a new component in /scripts/.
  • entityjs html Copies play.html and tests.html into root directory for editing.
  • entityjs -h Display all commands.
  • entityjs -v Display current version.

Using Shortcuts

The first letter of all commands is its shortcut. Like so:

  • entityjs n game = entityjs new game
  • entityjs t = entityjs templates
  • entityjs c = entityjs comp
  • etc..
Clone this wiki locally