Giter Club home page Giter Club logo

rails-rbs-sample's Introduction

devcontainer for Ruby on Rails 6.1

Ruby on Rails 6.1 の開発環境用の devcontainer

構成

docker compose で構成

機能

devcontainerの利用方法

※ devcontainer に必要なツールのインストールはこちら

このリポジトリを新規プロジェクトで利用する場合

  1. VSCodeを開き、 Reopen in Container を実行す

既存のプロジェクトで利用する場合

  1. このリポジトリをダウンロードし、任意のプロジェクトに以下をコピーする
  1. VSCodeを開き、 Reopen in Container を実行する

サーバーの立ち上げ方

devcontainer上で、コマンドを実行する

$ bin/rails s

devcontainer上で、 デバッグを実行 を実行する(ショートカットキー: F5)

デバッグを実行 を利用するとVSCode Debuggingが利用可能

デバッグを実行するためには ruby-debug-ide , debase gem のインストールが必要

docker composeのみで実行する場合

VSCode以外の環境で開発する場合は、docker composeを利用することができる。 Makefile コマンドが用意されている。各コマンドはHost OS上で実行する。

初回構築

$ make build

サーバーを起動する

$ make serve

VSCode extensions

リファレンス

rails-rbs-sample's People

Contributors

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