Regardless of programming language or project type, a nice pattern for working on a project is:

git clone
cd monorepo/project

Regardless of the file's contents, a developer should be able to clone the monorepo, change into the project directory, and run one command to start contributing.


# Set up Rails app after cloning codebase.
set -ex

# Install Ruby dependencies
gem install bundler --conservative
bundle check || bundle install

# Install JavaScript dependencies

# Set up database
bin/rails db:setup