forked from publiclab/plots2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
38 lines (32 loc) · 1015 Bytes
/
.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
36
37
38
image:
file: .gitpod.dockerfile
ports:
- port: 3000
onOpen: open-preview
tasks:
- init: >
export CHROME_BIN=/usr/bin/chromium-browser &&
gem install bundler &&
bundle config set without 'production' &&
bundle install &&
cp config/database.yml.gitpod config/database.yml &&
mysql -e "SET @@global.sql_mode=(SELECT REPLACE(@@global.sql_mode, 'ONLY_FULL_GROUP_BY', ''));" &&
mysql -e "CREATE DATABASE plots;" &&
cp db/schema.rb.example db/schema.rb
rake db:setup
yarn install
rails g webpacker:install && rails g webpacker:install:react && rails g react:install
command: >
passenger start
- command: chromium-browser --no-sandbox
- command: redis-server
- command: rails c
github:
prebuilds:
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: true
addComment: true
addBadge: false
addLabel: false