Azion CLI dev

dev

The dev command adapts the environment for building your edge application and run it locally. It’s used for projects already initialized or linked to an Azion edge application.

Link an Existing Project to Azion

Usage

Terminal window
azion dev

output

Once you’ve initialized the local development server, the application goes through the build process.

Terminal window
Building your Edge Application. This process may take a few minutes
Running build step command:
...

Then, when the build is complete, the access to the application is prompted:

Terminal window
[Azion Bundler] [Server] › ✔ success Function running on port http://localhost:3000

Optional flags

help

The --help option displays more information about the dev command.

firewall

The --firewall option indicates the function is intended for Edge Firewall.

Edge Functions for Edge Application
Edge Functions for Edge Firewall

Contributors