From 810eecc4ab14f4561715a85088bb4eadfccf432a Mon Sep 17 00:00:00 2001 From: Angel Aviel Domaoan Date: Thu, 27 Jan 2022 01:17:31 +0000 Subject: [PATCH] Add initial configuration for gitpod --- .gitpod.yml | 3 +++ bin/setup | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..3d02201 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,3 @@ +tasks: + - init: yarn install && bin/setup + command: bin/rails server diff --git a/bin/setup b/bin/setup index 90700ac..b9953c1 100755 --- a/bin/setup +++ b/bin/setup @@ -25,8 +25,8 @@ FileUtils.chdir APP_ROOT do # FileUtils.cp 'config/database.yml.sample', 'config/database.yml' # end - puts "\n== Preparing database ==" - system! 'bin/rails db:prepare' + # puts "\n== Preparing database ==" + # system! 'bin/rails db:prepare' puts "\n== Removing old logs and tempfiles ==" system! 'bin/rails log:clear tmp:clear'