forked from publiclab/mapknitter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
33 lines (32 loc) · 968 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
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' &&
./lib/exporter-deps.sh > /dev/null 2>&1 &&
bundle install &&
cp config/database.yml.gitpod config/database.yml &&
cp config/config.yml.example config/config.yml &&
mysql -e "CREATE DATABASE mapknitter_development;" &&
mysql -e "CREATE DATABASE mapknitter_test;" &&
cp db/schema.rb.example db/schema.rb &&
rake db:setup &&
yarn install
command: >
passenger start
- command: chromium-browser --no-sandbox
- command: rails c
github:
prebuilds:
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: true
addComment: true
addBadge: false
addLabel: false