CLI is used to create a new Orionjs project
The Orionjs CLI is a command-line tool that helps you develop and build Orionjs applications.
The CLI is part of the @orion-js/core
package.
Orionjs CLI provides essential commands to help you with your development workflow.
Runs your Orionjs application in development mode with hot reloading.
Options:
--shell
: Opens a shell in Chrome developer tools--clean
: Build the typescript project from scratchExample:
This command will:
Starts an Orionjs application as a production Node.js application.
Orionjs CLI automatically integrates with @orion-js/env
. To use encrypted environment variables, set these two variables:
See the Env documentation for details.
The Orionjs CLI automatically loads environment variables from a .env
file in your project root, making it easy to configure your application for different environments.
If you encounter any errors while using the CLI, they will be displayed with helpful error messages. Most common issues are related to missing parameters or incorrect project setup.
For more information and advanced usage, please refer to the Orionjs documentation.
CLI is used to create a new Orionjs project
The Orionjs CLI is a command-line tool that helps you develop and build Orionjs applications.
The CLI is part of the @orion-js/core
package.
Orionjs CLI provides essential commands to help you with your development workflow.
Runs your Orionjs application in development mode with hot reloading.
Options:
--shell
: Opens a shell in Chrome developer tools--clean
: Build the typescript project from scratchExample:
This command will:
Starts an Orionjs application as a production Node.js application.
Orionjs CLI automatically integrates with @orion-js/env
. To use encrypted environment variables, set these two variables:
See the Env documentation for details.
The Orionjs CLI automatically loads environment variables from a .env
file in your project root, making it easy to configure your application for different environments.
If you encounter any errors while using the CLI, they will be displayed with helpful error messages. Most common issues are related to missing parameters or incorrect project setup.
For more information and advanced usage, please refer to the Orionjs documentation.