Code Monkey home page Code Monkey logo

remote-dev's Introduction

remote-dev

Gitter

Remote Dev

Virtual Dev Environments over Visual Code for your remote teams

See a more detailed Spanish version of this guide.

Remote Dev allow us to share different OS or/and application environments removing the need to install their components in our team's local machines.

It does that by creating Docker containers that include applications, extensions, any config files or source code.

Main use cases

  • Stand-Alone Dev Sandboxes We might need to isolate our building and runtime enviromnet from our local environment;

Mabye because we want to test on a production like environment or there might be some conflicts between platforms that stop us working locally, or to avoid dealing with multiple platform dependent frameworks. Say you develop on Mac or Windows and runtime env is on Linux.

In any case, the point is, write once, run everywhere

  • Container based applications If you are developing an application to run on containers you might want to develop directly over a container, closer to live environment

Quick star guide

System Requirements

Local

  • Windows. Docker Desktop 2.0 o superior in Windows 10 Pro/Ent. Docker Toolbox no supported.
  • macOS. Docker Desktop 2.0 o superior.
  • Linux. Docker CE/EE 18.06 o superior y Docker Compose 1.21 or superior.

Containers. x86_64 Debian 8 or superior, Ubuntu 16.04 or superior, CentOS / RHEL 7 or superior, Containers based on Linux Alpine.

Installation Guide

  1. Docker's client

    Windows / macOS.

    1. Install Docker Desktop For Windows/Mac.
    2. Once installed, right click on toolbar and select: "Settings / Preferences / Shared Drives / File Sharing". On settings screen choose where you´d like to use Docker.

    Linux.

    1. Follow instructions as described on Docker' site. If you use Docker Compose, follow the specefic guide Compose
    2. Once ready, add your user to grupo docker with the following command: sudo usermod -aG docker $USER
    3. Re start your session and log back in to apply the changes.
  2. Install Visual Studio Code or Visual Studio Code Insiders

  3. Install pack Remote Development Extension

We'll cover a "full-time development environment" approach, that is, we'll use both, container and content, as a complete developement environment.

Setting up Docker Remote on VSCode.

Two ways to go around this depending where are your development is at

Use a Dockerfile

Set up VSCode to use an existing image from DockerHub, Azure Container Register or created by you.

To use your own images or Docker config files you'll need to create, at the application level, a new directory .devcontainer and inside it the devcontainer.json file.

To star, open the directory where the `Dockerfile´ lives and once opened it, select the option Remote-Containers: Add Development Container Configuration Files... (press F1 to see command options)

See also

Want to Contribute?

Credits & Sponsors

remote-dev's People

Contributors

cseguinlz 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.