Giter Club home page Giter Club logo

frourio-container's Introduction

VSCode Remote Container Template

実際に使っているときのディレクトリ構造

|--.devcontainer
|  |--devcontainer.env
|  |--devcontainer.json
|  |--docker-compose.yml
|  |--amd
|  |  |--Dockerfile
|  |--arm
|  |  |--Dockerfile
|  |--mysql
|  |  |--my.cnf
|  |--ssh
|  |  |--config
|--.gitignore
|--README.md

Githubへの接続

  • ssh-keygenコマンドで作成
    • ./ssh/configではSSHキーがgithubgithub.pubで作成することを前提にしている
    • 別名称にする場合は./ssh/configを修正してください
  • 作成したkeyでの接続情報をknown_hostsに追加する
ssh-keyscan github.com >> ~/.ssh/known_hosts

環境変数

  • .devecontainerの直下にdevcontainer.envファイルを配置すると読み込まれる
  • docker-compose.ymlで読み込む設定になっているため空ファイルで作成してください
    • もし作成したくない場合はdocker-compose.ymlから設定を外してください(13行目: env_file: devcontainer.env)
    • devcontainer.envはGithub上にあげないほうがよいこともあるので、デフォルトでは.gitignoreの対象にしています

M1MacでのMySQL準備

arm版MySQLはないので、Intel版をpullしてきてエミュレートする

docker pull --platform linux/amd64  mysql:8.0.23

default Extension(上から順)

  • Vim
  • Git Graph
  • vscode-icons
  • gitflow
  • GitLens
  • Indent-Rainbow
  • Path Autocomplete
  • Prettier
  • TabNine Autocomplete
  • GitHub Pull Requests and Issues
  • Code Spell Checker

必要に応じて、追加削除をしてください。 devcontainer.jsonextensionを編集

frourio-container's People

Contributors

mori-hisayuki avatar

Stargazers

 avatar Suguru Ohki avatar

Watchers

James Cloos 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.