BoxLang 🚀 A New JVM Dynamic Language Learn More...
CommandBox commands for PresideCMS. This repository manages the code used to build the "preside" set of commands for CommandBox.
Before starting, you will need CommandBox installed. Head to http://www.ortussolutions.com/products/commandbox for instructions on how to do so.
Once you have CommandBox installed, you can install our commands with:
~/> box install preside-commands
If you already have the commands installed, and wish to ensure you have the latest version installed, enter the following command at your command prompt:
~/> box install --force preside-commands
From within the CommandBox shell, CD into an empty directory in which you would like to create the new site and type:
CommandBox> preside new site
Follow any prompts that you receive.
From the webroot of your Preside site, enter the following command:
CommandBox> preside start
If it is the first time starting, you will be prompted to download Preside and also to enter your database information, you will need an empty database already setup.
Once started, a browser should open and you should be presented with your homepage. To navigate to the administrator, browse to /{site_id}_admin/
, where site id is the ID of the site you entered when creating the new site from the instructions above.
n.b. The admin path setting is editable in your site's /application/config/Config.cfc
file.
Rewrite of core commands to bring up to date with latest changes and approaches from Commandbox. We now use cfconfig
for preside server start
and have resolved the issues with datasource prompts overlapping Commandbox text
preside new site
commandpreside new extension
that includes scaffolds for tests and Github actions flow for publishing to forgebox.preside start
to be run in non-interactive shell with preside start interactive=false
cache stats
command).preside new site
command to use forgebox packages (in readiness for multiple skeleton options and simplifying the build process)preside start
servers on Linux machines (now that we will have working AppIndicators in Linux with CommandBox)preside start
for the first time
$
box install preside-commands