Giter Site home page Giter Site logo

bflorian91 / docker-dev-environment Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5 KB

The Docker-based development environment for NeoVim is a flexible workspace for coding. Built with Alpine.js, it links to your local files. Customizable and easy to set up with Docker Compose, it's ideal for developers looking for an efficient and personalized workspace.

docker-dev-environment's Introduction

docker Neovim Docker project for development environment

This Docker project allows you to create a development environment with NeoVim. You can easily launch the environment with Docker Compose and link your local working directory with the container's working directory.

Requirements

  • Docker
  • Docker Compose

Installation

  1. Clone the project on your local machine:
git clone https://github.com/BFlorian91/docker-dev-environment
  1. Navigate to the directory:
cd docker-dev-environment
  1. IMPORTANT: Do not forget to update the path of the volume bind in the docker-compose.yml file to match your local working directory path.

Usage

Start the development environment with the following command:

docker-compose up -d --build

Enter the container's shell using the following command:

docker-compose exec neovim fish

You can now use NeoVim to work on your local files by accessing the mounted working directory in the container: cd /workdir
To stop the development environment, use the following command: docker-compose down

Customization

You can customize the development environment by modifying the Dockerfile and docker-compose.yml files. You can also add Fish shell aliases in the .config/fish/config.fish file.

Remarks

  • Changes made to the files in the container's working directory will be automatically synchronized with the local working directory thanks to the volume binding.
  • Changes made to the Dockerfile and docker-compose.yml files will only take effect after restarting the development environment with the command docker-compose up -d --build.
  • The project was built with Alpine.js.
  • Do not hesitate to consult the Docker documentation for more information on using Docker and Docker Compose.

docker-dev-environment's People

Contributors

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