Laraboot/Cli
CommunityExtendig
1.0.0
1.0.0
  • Introduction
  • Requirements
  • Getting started
  • F.A.Q
  • Concepts
    • Workspace
    • laraboot.json
    • Build tasks
      • Core tasks
      • Community tasks
  • Usage
    • Create a project
    • Configure
      • Data model
      • Configure
      • Starter kits
      • Views and layouts
    • Build your project
    • Run your project
    • Share your project
  • Build
    • Process
    • Hooks
  • Tutorials
    • Create a laraboot application
    • Collaborative
  • Extending
    • Create a build task
    • Github actions
    • Publish a build task
Powered by GitBook
On this page
  • Build tasks
  • Building
  • Passing additional build params

Was this helpful?

  1. Usage

Build your project

Build tasks

Once you identify a build task you think might be helpful or simply want to give it a try add it to your project like this

laraboot task add <name> [--buildtaskID <id>]

It's also possible to specify the position on which the build task will be added with --prepend or --append for instance:

laraboot task add nodejs --imageUri=gcr.io/paketo-buildpacks/nodejs --format=external --prepend

Building

The build command will run all the tasks specified in your configuration and ultimately will give you a container image you can use for your purposes.

laraboot build dev

If you feel curious increase the verbosity of the process by passing -v, -vv, or -vvv to the command.

If the command completes successfully a container image had been created with the name of your project.

Passing additional build params

There might be a time when the build process requires another dependency not specified. In this case, there's the possibility to pass additional parameters to pack , which is used internally to build the project.

For instance core build task@core/laravel-starterkit-buildpack requires nodejs

laraboot build dev -vvv --pack-params --buildpack gcr.io/paketo-buildpacks/nodejs

PreviousViews and layoutsNextRun your project

Last updated 3 years ago

Was this helpful?