Documentation is now live! Read | Stay in the loop with Lightna updates - Keep me updated
|||
Content

Development Environment

Development Mode

Set 'mode' => 'dev' in your env.php to enable raw error output and development-specific validations on the environment.

Often Used Commands

make install Install Composer and Node dependencies as defined in the lock files.
make compile Apply changes to the current build, except CSS, JS, and assets.
make compile-i Executes make compile followed by make index.update.
make build Regenerate the build.
make index.update Update all indices.
make sync Run this after pulling changes to sync the environment. It executes make install && make build && make schema.update.
make sync-i Executes make sync followed by make index.update.
make config.apply Apply changes from config.php and env.php. Not needed when using make compile or make build.
make test.unit Execute unit tests.
make watch.main.js Watch for changes in the main edition JavaScript.
make watch.main.common.css Watch for changes in the main edition common.css.

Also see the full list of commands.

⚙️  Documentation Review

Noticed an issue or need more details? Submit your feedback for this page.
Leave a Feedback