Code Monkey home page Code Monkey logo

ceph-vscode's Introduction

Ceph development with Visual Studio Code

Requirements

Users should ensure to have the following programs installed on their system:

  • bash, id, getent

Steps

  1. Clone ceph-vscode project to a local folder
  2. Clone ceph project to a local folder
  3. Copy ceph-vscode's .devcontainer and .vscode directories into ceph project folder
  4. VSCode -> open ceph project folder -> >< (left bottom button) -> Open Folder in Container...

Functionalities

Users can build, develop and test Ceph inside a Docker container without being forced to install or configure anything on their own machine.
Visual Studio Code can take care of automatically download and build a developer Docker image.
Host's user will match UID and GID with the user inside the container.
This ensures that every modification from inside the container will be completely transparent from the host's perspective.
Moreover, host's user ~/.ssh directory will be mounted on the container's user ~/.ssh directory. This is especially convenient if an ssh authentication type is configured to work with GitHub.
From inside the container, users will be able to access the host's Docker engine as if they were just in a regular host's shell.

Build

To build the entire Ceph project simply press: ctrl + shift + b

Debug services

radosgw

The configured radosgw debug setting will use the wd_rgw directory as working directory.
Inside that has been placed a configuration file for the s3cmd S3 client that is already configured for the usage with radosgw.
Examples of commands you can use with that have been placed into s3cmd.notes file.

ceph-vscode's People

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.