CLI
Warning
This package is archived and no longer supported (2019-08-24)
A handy CLI tool for spinning up all the starter apps you may need.
Installation
Installation is done globally with composer. Though we recommend using the cgr
package to prevent dependency collisions.
composer global require grafite/cli
With this installed you have the freedom to spin up a collection of apps using the various Grafite packages.
$ grafite make:app {APP_NAME} --bootstrap
$ grafite make:cms {WEBSITE_NAME}
Commands
Make App
The make app command will create a new Laravel instance and then add the starter kit from Grafite Builder. This is great if you want to use a UI kit other than Bootstrap.
Bootstrap option
You guessed it, also sets up bootstrap on the app.
Make CMS
Make CMS works just like the make:app
command meaning it will set up a basic app using Laravel and Grafite Builder, it will by default use bootstrap for the UI kit. It then adds in the use of Grafite CMS. It will publish the theme to the app along with the basic Controllers and routes for accessing contents of the CMS. Please consult the Grafite CMS Docs for more information.