1
0
Fork 0
forked from OpenNeo/impress
impress/.devcontainer/post-create.sh

14 lines
475 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e # Quit if any part of this script fails.
# Mark all git repositories as safe to execute, including cached gems.
# NOTE: This would be dangerous to run on a normal multi-user machine,
# but for a dev container that only we use, it should be fine!
git config --global safe.directory '*'
# Install the app's Ruby gem dependencies.
bundle install
# Set up the databases: create the schema, and load in some default data.
rake db:schema:load db:seed