Rails Project using Docker

Hi, I created a Rails project using a Docker container by following Getting Started with Dev Containers in the Rails Guides. I have a couple of questions.

  1. For my initial commit, can I simply add everything to git or do I need to tweak .gitignore and ignore certain files (Docker-related files for example)?

  2. As Visual Studio Code reopens the project in a Docker container, is it advisable to do everything in VS Code (at least until I know what I’m doing)?

Thanks :slight_smile:

1 Like
  1. I just keep everything in the git repository – it is part of the project after all.
  2. VScode makes it very easy, but the devcontainers tools includes a cli that you can use instead with any other editor.
1 Like