-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitpod.yml
35 lines (34 loc) · 1.05 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
image:
file: .gitpod.Dockerfile
ports:
- port: 3000
onOpen: open-preview
tasks:
- init: >
rvm autolibs disable &&
rvm install 2.7.0 &&
gem install bundler &&
cp config/database.yml config/database.yml &&
createuser -s postgres &&
(redis-server &) &&
bundle install --without production --path vendor/bundle &&
yarn &&
bundle exec rails db:create &&
bundle exec rails db:schema:load &&
bundle exec rails db:migrate &&
bundle exec rake sunspot:solr:start &&
bundle exec rails db:seed
command: >
createuser -s postgres &&
(redis-server &) &&
bundle install --without production --path vendor/bundle &&
yarn &&
bundle exec rails db:create &&
bundle exec rails db:schema:load &&
bundle exec rails db:migrate &&
bundle exec rake sunspot:solr:start &&
bundle exec rails db:seed &&
bundle exec rails server
github:
prebuilds:
pullRequestsFromForks: true