-
Notifications
You must be signed in to change notification settings - Fork 0
/
distelli-manifest.yml
67 lines (46 loc) · 1.36 KB
/
distelli-manifest.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
dottjt/LearningSchedule:
# Distelli Manifest example
# this example assumes the build and deploy servers are:
# Ubuntu 14.04
PreRelease:
- echo "---Beginning PreRelease---"
- echo "--Installing build dependencies--"
- echo "-Updating apt-get-"
- sudo apt-get -y update
- echo "-Installing nodejs-"
- curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
- sudo apt-get -y install nodejs
- echo "-Installing npm-"
- sudo apt-get -y install npm
- echo "--Building Server--"
- npm install
- cd client
- npm install
PkgInclude:
- '*'
PkgExclude:
- node_modules/
- client/node_modules/
PreInstall:
- echo "---Begining PreInstall---"
- echo "--Installing deploy dependencies--"
- echo "-Updating apt-get-"
- sudo apt-get -y update
- echo "-Installing nodejs-"
- curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
- sudo apt-get -y install nodejs
- echo "-Installing npm-"
- sudo apt-get -y install npm
- echo "--Building Server--"
- npm install
- cd client
- npm install
PostInstall:
- echo "Begin PostInstall"
- npm install
- cd client
- npm install
Env:
- SECRET: "\xcbh\xd7\x02\x86\xf8{\xaf\x8b\xc5N6W\xc1\xa3n\x1a\x86\xa0\x92\x96\x8e\x8b\xe3"
Exec:
- /usr/bin/nodejs index.js