Deployment

Package your application

To package your application for deployment, your project directory must be organized as follows:

  • A docker-compose.yml describing how the application should be launched
  • A runtime dockerfile listing the steps and commands to run the application. You can use our Docker images with everything already installed for convenience.
  • An app.json file that describes your application, specifies its name and release name and defines the parameters
  • the source code or the executable
.
├── app
│   └── Dockerfile
│   └── My program
├── app.json
├── docker-compose.yml
├── README.md

edge_cli contains a utility method to package your application. Run the following command in the root directory of your application:

edge_cli deploy .

If you want a example, take a look at our samples.

Upload to the cloud

In the Applications page, click on Add application and upload you ZIP archive. You can modify its name and icon in the settings panel if needed.

Deploy on your devices

Select an application among those you have already uploaded. In the Deploy section, select the devices where you want to deploy the application.