Git Product home page Git Product logo

amet's Introduction

Amet

Containerized, portable development environment.

Introduction

The concept of this project is to create a development environment that utilizes Docker and Code-Server to create a fully functional, browser-based, portable development environment.

Quick Start

Clone the repo:

git clone [email protected]:Fluidbyte/amet.git

Run the script, supplying desired username and password for your development environment.

./amet.sh -u <username> -p <password> [-s <shell>]

Note: the <shell> can be bash or zsh (default: bash)

After this script completes the editor will be running at https://<HOST|IP>:3000. It will prompt you for the password you entered when running the script.

If you would like to access the environment over SSH:

ssh -p 3022 localhost

Just enter the password you specified above.

Customizing the Environment

The idea with this project is that your entire development environment is built as a container. Given this, the best way to customize your environment is to customize the ./Dockerfile to meet your needs.

Docker-in-Docker

The Docker container builds a docker client and service which can be used without conflicting with the host docker instance.

Persisting Data

When the container is started it will mount a volume to a /sync directory in the container and continually sync the /home/<username> directory. This directory will appear in the working directory where the ./amet.sh ... startup command was run.

Additionally, the following directories will be created (on first run) or synced internally (any subsequent runs):

  • ~/code-server: maintains all data, config, extensions, etc for Code-Server
  • ~/workspace: working environment that Code-Server opens initially

When you're ready to stop developing, you can shut down and restart the container without losing data, regardless of whether or not you're persisting volumes. Simply docker stop amet-USERNAME (fill in your username!) when you're done, and docker start amet-USERNAME when you're ready to start again. All your changes from the last run will be waiting for you.

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.