Update Vagrant provision setup

This commit is contained in:
Sebastian Serth
2022-04-26 16:23:34 +02:00
parent 3312f69b53
commit 305ee0ea0c
2 changed files with 81 additions and 2 deletions

View File

@ -4,7 +4,7 @@
postgres_version=14
node_version=14
ruby_version=2.7.5
ruby_version=2.7.6
########## INSTALL SCRIPT ###########
@ -92,7 +92,7 @@ gem install bundler
cd /home/vagrant/codeocean
# config
for f in action_mailer.yml database.yml secrets.yml code_ocean.yml docker.yml.erb mnemosyne.yml
for f in action_mailer.yml database.yml secrets.yml docker.yml.erb mnemosyne.yml
do
if [ ! -f config/$f ]
then
@ -100,6 +100,12 @@ do
fi
done
# We want to use a preconfigured code_ocean.yml file which is using the DockerContainerPool
if [ ! -f config/code_ocean.yml ]
then
cp provision/code_ocean.vagrant.yml config/code_ocean.yml
fi
# install dependencies
bundle install
yarn install