forked from CircuitVerse/CircuitVerse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
45 lines (43 loc) · 1.15 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
36
37
38
39
40
41
42
43
44
45
image:
file: .gitpod.Dockerfile
ports:
- name: Web App
port: 3000
onOpen: open-preview
- port: 3001-9000
onOpen: ignore
tasks:
- init: >
cp ./.gitpod.vscode.settings .vscode/settings.json &&
rvm autolibs disable &&
rvm install 3.2.0 &&
nvm install 14 &&
gem install bundler &&
cp config/database.example.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 rails db:seed
command: >
sleep 5 &&
redis-server --daemonize yes &&
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 rails db:seed &&
bin/dev
github:
prebuilds:
pullRequestsFromForks: true
vscode:
extensions:
- dbaeumer.vscode-eslint
- rebornix.ruby
- castwide.solargraph
- wingrunr21.vscode-ruby