Skip to content

Commit 484b872

Browse files
add the sample deploy dir
1 parent e0ee231 commit 484b872

File tree

3 files changed

+73
-0
lines changed

3 files changed

+73
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
.DS_Store
44
node_modules
55
settings.production.json
6+
app/.deploy/mup.js
7+
app/.deploy/settings.json

app/.deploy/mup.sample.js

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
module.exports = {
2+
servers: {
3+
one: {
4+
host: 'changeme.com',
5+
username: 'root',
6+
password: 'CHANGEME'
7+
}
8+
},
9+
10+
app: {
11+
name: 'meteor-application-template-react',
12+
path: '../',
13+
14+
servers: {
15+
one: {},
16+
},
17+
18+
buildOptions: {
19+
serverOnly: true,
20+
},
21+
22+
env: {
23+
ROOT_URL: 'https://changeme.com',
24+
MONGO_URL: 'mongodb://mongodb/meteor',
25+
MONGO_OPLOG_URL: 'mongodb://mongodb/local',
26+
},
27+
28+
docker: {
29+
// abernix/meteord:node-12-base works with Meteor 1.9 - 1.10
30+
// If you are using a different version of Meteor,
31+
// refer to the docs for the correct image to use.
32+
image: 'abernix/meteord:node-12-base',
33+
},
34+
35+
// Show progress bar while uploading bundle to server
36+
// You might need to disable it on CI servers
37+
enableUploadProgressBar: true
38+
},
39+
40+
mongo: {
41+
version: '3.4.1',
42+
servers: {
43+
one: {}
44+
}
45+
},
46+
47+
proxy: {
48+
domains: 'changeme.com',
49+
ssl: {
50+
letsEncryptEmail: '[email protected]'
51+
}
52+
}
53+
};

app/.deploy/settings.sample.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"defaultAccounts": [
3+
{ "email": "[email protected]", "password": "changeme", "role": "admin" },
4+
{ "email": "[email protected]", "password": "changeme" }
5+
],
6+
7+
"defaultData": [
8+
{ "name": "Basket", "quantity": 3, "owner": "[email protected]", "condition": "excellent" },
9+
{ "name": "Bicycle", "quantity": 2, "owner": "[email protected]", "condition": "poor" },
10+
{ "name": "Banana", "quantity": 2, "owner": "[email protected]", "condition": "good" },
11+
{ "name": "Boogie Board", "quantity": 2, "owner": "[email protected]", "condition": "excellent" }
12+
],
13+
14+
"monti": {
15+
"appId": "changeme",
16+
"appSecret": "changeme"
17+
}
18+
}

0 commit comments

Comments
 (0)