/scalate-website/src/documentation/tool.page

http://github.com/scalate/scalate · Visualforce Page · 57 lines · 37 code · 20 blank · 0 comment · 0 complexity · a2cbb66f80965024a16d1e42b0371ae2 MD5 · raw file

  1. ---
  2. title: Scalate Tool
  3. in_menu: false
  4. sort_info: 5
  5. --- name:overview
  6. # Scalate Tool
  7. Scalate Tool helps get you scalate-ing faster!
  8. --- name:content pipeline:jade
  9. .right
  10. :&markdown
  11. Scatate Tool is a handy command line tool for working with Scalate. It provides various features such as
  12. * [Creating new projects using Scalate](getting-started.html)
  13. * [Converting existing JSP files over to Scalate](jspConvert.html)
  14. * [Generating static websites](siteGen.html)
  15. .left
  16. :markdown
  17. # Getting Started
  18. .right
  19. :&markdown
  20. Scalate Tool has the following requirements
  21. * Scalate requires a [Java development kit](http://java.sun.com/) of version 1.5 or later
  22. To get started with the Scalate Tool you'll need to download and [install](installing.html) it.
  23. .left
  24. :markdown
  25. # Using the Scalate Tool
  26. .right
  27. :markdown
  28. Once you have installed the Scalate Tool via one of the above methods, you should be able to use the **scalate** executable on the command line.
  29. The scalate tool supports a number of sub commands rather like **git** or **svn**. You can invoke a sub command directly such as
  30. scalate run myTemplate.ssp
  31. you can get a list of all the available sub commands via
  32. scalate help
  33. or to get help on a specific command you can type
  34. scalate --help
  35. or enter the Scalate interactive shell via
  36. scalate
  37. Once in the shell help will apppear to help guide you through the available commands. The shell supports tab completion rather like bash to help you execute the commands easily.