Skip to main content

Commandbox Commands

Start Server

server start host=0.0.0.0 port=8282 --rewritesEnable

Stop Server

server stop

Create Coldbox App

coldbox create app myApp

Create handler

CommandBox> coldbox create handler helloWorld index,add,edit,list

Re-initialize Framework

http://IP_ADDRESS:8282/?fwreinit=1

Install Packages

Full list of packages/modules available on forgebox: https://forgebox.io/type/modules

Below is a list of helpful examples:

  • BCrypt -- Industry-standard password hashing

  • cbdebugger -- For debugging Coldbox apps

  • cbjavaloader - For interacting with Java classes and libraries

  • cbMarkdown - For writing in markdown

  • cbMessagebox -- Display nice error/success messages

  • cborm -- Awesome ORM Services

  • cb18n -- For multilingual sites

  • cbt - ColdBox templating language

  • cbValidation - Back-end validation framework

  • qb - Fluent query builder and schema builder

  • route-visualizer - For visualizing your application routes

Install package from Commandbox prompt

install cbmessagebox

Install package from root prompt

box install cbmessagebox
Commandbox> install cbmessagebox
root@localhost: box install cbmessagebox