This repository was archived by the owner on Apr 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.yml
More file actions
52 lines (47 loc) · 1.24 KB
/
dev.yml
File metadata and controls
52 lines (47 loc) · 1.24 KB
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
46
47
48
49
50
51
52
name: wiki
up:
- homebrew:
- openssl
- ruby: 2.3.1
- railgun
- bundler
- database:
bootstrap: bundle exec rake db:create db:migrate ; bin/rake db:test:prepare
migrate: bin/rake db:migrate db:test:prepare
host: wiki.railgun
user: postgres
password: ''
database: cfk_wiki_dev
vendor: postgres
open:
"My Application": https://wiki.myshopify.io
commands:
console:
syntax: ""
desc: 'start a rails console'
run: bin/rails console
server:
syntax: ""
desc: 'start a rails server'
# You'll want to find the port registered for your app at https://github.com/Shopify/railgun-common-services/blob/master/nginx-config/web_apps.json
run: bin/rails server -b 192.168.64.1 -p 40099
test:
syntax:
argument: file
optional: args...
desc: 'run a single test file'
run: bundle exec rake test
railgun:
image: dev:railgun-common-services-0.2.x
services:
postgresql: 5432
nginx: 80
# Choose an unused IP. Make a PR to https://github.com/Shopify/dev/blob/master/IP_ADDRESSES
ip_address: 192.168.64.217
memory: 2G
cores: 2
disk: 2G
proxy:
wiki.myshopify.io: 40099
packages:
- git@github.com:Shopify/dev-shopify.git