-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
33 lines (21 loc) · 996 Bytes
/
install.sh
File metadata and controls
33 lines (21 loc) · 996 Bytes
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
#install all the chart repositories assuming they have not been installed
#must start in modules
#dont forget the chmod +x run this in unix bash land
#go back to modules from MMM-ChartUtilities
cd ../
#
git clone https://github.com/TheBodger/MMM-ChartDisplay
git clone https://github.com/TheBodger/MMM-ChartProvider-JSON
git clone https://github.com/TheBodger/MMM-ChartProvider-Words
git clone https://github.com/TheBodger/MMM-ChartProvider-Finance
#go back to mm root
#should be at /Magicmirror now
cd ../
#install all the dependencies here so we dont create humongous directories of copies of npm modules
# we dont install moment as it is already present by default in MM
# we dont install fs as it is part of core node-js apparently. On windows you may need to install it
npm install linq@3
#Special install of require.js to support amcharts. Under the vendor directory as the MMM-ChartDisplay module needs to know where it is
cd ../vendor
npm install requirejs
npm install memfs