Giter VIP home page Giter VIP logo

cloud-development-environment's Introduction

cloud-development-environment

Simple to set up & configurable development machine in the digital ocean.

Contents

Usage

First-time set up

Prerequisites

  1. Install the Digital Ocean CLI.
  2. Generate an access token.
  3. Authenticate doctl with your access token.
  4. Make sure you have make and curl installed.
  5. Install jq.

First-time Set Up

Run:

make install

This will create the files at ~/.cloud-development-environment required for a basic development box.

Configuration

For Github access, copy your SSH private key to ~/.cloud-development-environment/files/id_rsa

Add repositories you want cloned:

echo '[email protected]:your/repo.git' >> ~/.cloud-development-environment/files/repos.txt

Add other files or dotfiles you want uploaded:

cp ~/.your-dotfiles ~/.cloud-development-environment/files
cp ../any/other/files  ~/.cloud-development-environment/files

Launch

Create the droplet and SSH key for shell access:

make create

Run until droplet has an IP:

make update

This updates the local JSON info file about the droplet.

Set up the instance:

make setup

Droplets can take a minute to be SSH-ready. You can check by running make console. This instance can only be set up once the droplet is available for SSH.

SSH in to the instance:

make console

Teardown

Destroy the droplet and SSH key:

make destroy

cloud-development-environment's People

Contributors

benjaminbergstein avatar

Stargazers

Reuben Platon avatar

Watchers

James Cloos avatar  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.