-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathconfig.ini
executable file
·72 lines (61 loc) · 1.84 KB
/
config.ini
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
68
69
70
71
72
#!/bin/bash
# Do not change these lines, they are used to auto detect the installation location
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# usrdir=${DIR/\/EmonScripts\/install/}
openenergymonitor_dir=/opt/openenergymonitor
emoncms_dir=/opt/emoncms
# usernames and passwords below are for default raspberrypi installation
# these can all be changed to own preference
# emonSD
# - Change user to reflect your OS user
# - Set emonSD_pi_env=0 if not a raspberrypi
user=pi
hostname=emonpi
emonSD_pi_env=1
# MySQL
mysql_user=emoncms
mysql_password=emonpiemoncmsmysql2016
mysql_database=emoncms
# MQTT
mqtt_user=emonpi
mqtt_password=emonpimqtt2016
# Emoncms
emoncms_www=/var/www/emoncms
emoncms_core_branch=master
emoncms_log_location=/var/log/emoncms
# Modules installed in $emoncms_www/Modules
# Configure branches as applicable
declare -A emoncms_modules
emoncms_modules[config]=master
emoncms_modules[graph]=master
emoncms_modules[dashboard]=master
emoncms_modules[app]=master
emoncms_modules[wifi]=master
emoncms_modules[device]=master
# Modules installed in $emoncms_dir/modules
# Configure branches as applicable
declare -A symlinked_emoncms_modules
symlinked_emoncms_modules[demandshaper]=master
symlinked_emoncms_modules[sync]=master
symlinked_emoncms_modules[backup]=master
symlinked_emoncms_modules[usefulscripts]=master
symlinked_emoncms_modules[postprocess]=emonpi
emoncms_datadir=/var/opt/emoncms
# Components enabled
apt_get_upgrade_and_clean=true
install_apache=true
install_mysql=true
install_php=true
install_redis=true
install_mosquitto=true
install_mosquitto_server=true
install_mosquitto_client=true
install_emoncms_core=true
install_emoncms_modules=true
install_emonhub=true
# RaspberryPi emonSD applicable items
# set to false if not needed
install_firmware=true
install_emonpilcd=true
install_emonsd=true
install_wifiap=true