Git Product home page Git Product logo

digitalocean-marketplace-image-octobot's Introduction

DigitalOcean Marketplace - OctoBot

This README provides instructions for creating an OctoBot golden image using Packer for distribution on the DigitalOcean Marketplace.

Prerequisites

DigitalOcean Account

Before proceeding, make sure you have a DigitalOcean account and create a personal access token. Follow these steps:

  1. Log in to your DigitalOcean account and go to the "API" section in the left-most navigation menu.
  2. Click on "Generate New Token".
  3. Provide a token name, expiration, and give read and write scopes.
  4. Click on "Generate Token" to create the token.
  5. Once generated, make sure to copy and securely store the token. It will not be shown again.
  6. Export the token as an environment variable by running the following command in your terminal, replacing your_token with the actual token:
export DIGITALOCEAN_TOKEN=your_token

Packer

Install packer

If you do not already have packer installed you can install it with brew:

brew install packer

or with apt on Ubuntu:

curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install packer

Install digital ocean plugin

packer plugins install github.com/digitalocean/digitalocean

Building the Image

Ensure that the DIGITALOCEAN_TOKEN environment variable is set, you can build the image using the following command:

packer build marketplace-image.json

The above command will install dependencies, clean and prepare for a snapshot, power down the VM, take a snapshot, and then remove the VM.

Once the process is complete (usually within 10-15 minutes), you will see a success message in your terminal. Additionally, you can find the final image under the "Images" section in the "Manage" menu on the DigitalOcean website.

You can now use this image to submit to the Marketplace through the vendor portal.

digitalocean-marketplace-image-octobot's People

Contributors

adesokanayo avatar akshaybengani789 avatar alexeigutium avatar bradford-hamilton avatar caquillo07 avatar centminmod avatar countingtoten avatar crashenx avatar dmitry-a-l avatar eskombro avatar githubsaturn avatar gouthamve avatar gunnaraasen avatar hazel-nut avatar herklos avatar jgannondo avatar jvalleroy avatar lkhn avatar mbeyt avatar paulanunda avatar peterdavehello avatar qrkourier avatar quinneckart avatar rijkvanzanten avatar ryanpq avatar scott avatar scottcrawford03 avatar sorokinaveronika avatar wadenick avatar xymka avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.