Added gitpod-init script (#14698)
This commit is contained in:
parent
41b3171dd1
commit
cedef989f1
2 changed files with 9 additions and 6 deletions
|
|
@ -16,12 +16,7 @@ tasks:
|
|||
before: |
|
||||
redis-server &
|
||||
init: >
|
||||
cp .env_sample .env &&
|
||||
echo "APP_DOMAIN=\"$(gp url 3000 | cut -f 3 -d /)\"" >> .env &&
|
||||
echo 'APP_PROTOCOL="https://"' >> .env &&
|
||||
gem install solargraph &&
|
||||
gem install foreman &&
|
||||
bin/setup
|
||||
gitpod-init.sh
|
||||
command: >
|
||||
bin/startup
|
||||
- command: >
|
||||
|
|
|
|||
8
gitpod-init.sh
Executable file
8
gitpod-init.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cp .env_sample .env
|
||||
echo "APP_DOMAIN=\"$(gp url 3000 | cut -f 3 -d /)\"" >> .env
|
||||
echo 'APP_PROTOCOL="https://"' >> .env
|
||||
gem install solargraph
|
||||
gem install foreman
|
||||
bin/setup
|
||||
Loading…
Add table
Reference in a new issue