Skip to main content

Part 4: Publishing to ECR

Now that we've finished preparing our code and testing it, we're almost ready to publish it to the Edge Code Repository!

Preparing our app

Before publishing an app to the Edge Code Repository, we need to add a few packaging items to it.

First, update the homepage in your sage.yaml to point to your app-tutorial Github repo and verify that it matches the following:

name: "app-tutorial"
version: "0.1.0"
description: "My really amazing app!"
keywords: ""
authors: "Your name"
collaborators: ""
funding: ""
license: ""
homepage: "https://github.com/username/app-tutorial"
source:
architectures:
- "linux/amd64"
- "linux/arm64"

Next, create an ecr-meta directory in your repo and populate it with the following text and media:

  • ecr-science-description.md - Markdown with in depth description of the science being done here (1 page of text).
  • ecr-icon.jpg - An icon for the project/work 512x512px.
  • ecr-science-image.jpg - A science image for the project with a minimum size of 1920x1080px.

Once we've commited and pushed those files to your repo, we're ready to publish our app!

Publishing our app

Please visit the Edge Code Repository and complete the following steps:

  1. Go to "Sign In" and follow the instructions.
  2. Go to "My Apps".
  3. Go to "Create app" and follow the instructions.

If everything is successful, your plugin will appeared and be marked as "Built".

Conclusion

Congratulation! You've successfully written, tested and published an app to ECR!

We encourage you to check out other apps in the ECR and explore additional functionality provided by pywaggle.