Skip to content

Tutorial of building a package from scratch #190

Open

Description

@tropicar

Create a tutorial which is useful to create packages and use the different features of dappnodesdk.

  • Wizard
  • Manifest reference
  • allowed docker-compose keys

Activity

  1. self-assigned this
    on Jun 28, 2022
  2. pablomendezroyo commented on Sep 25, 2023

    @pablomendezroyo
    Contributor

    @Marketen @dsimog01 @chuygarcia92 This one would be great to have it

  3. dappnodedev commented on Sep 25, 2023

    @dappnodedev
    Contributor

    The steps would be:

    1. Run npx @dappnode/dappnodesdk@latest init and input the values you are prompted
    2. Know the difference between public and dnp packages (create a page for this in docs and add a link to it here)
    3. Have a look at the possibilities of the manifest (dappnode_package.json) and add all features you need to yours
    4. Create the setup-wizard.yml with all the params that need to be defined before package installation
    5. Create the docker-compose.yml file taking into account all the services that you need to include and the environment variables each one needs
    6. Recommendation: create a directory for each service and place there any files relevant to that service, like the Dockerfile or entrypoint.sh files
    7. Set up the CI if it applies. In case of the bump upstream action, you'll need to modify manifest, compose and Dockerfiles
  4. Pol-Lanski commented on Dec 9, 2023

    @Pol-Lanski
    Member

    It should also include the video that @pablomendezroyo did: https://www.youtube.com/watch?v=KjsonhjX2eM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions