Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ $ npm install --only=prod
$ pip3 install -r py/requirements.txt
```

Create the config file used by micboard
```
$ touch config.json
```

build the micboard frontend and run micboard
```
$ npm run build
Expand All @@ -37,6 +42,8 @@ $ sudo systemctl start micboard.service
$ sudo systemctl enable micboard.service
```

Visit your instance of Micboard at http://server_ip_address:8058

Check the [configuration](configuration.md) docs for more information on configuring micboard.

## macOS - Desktop Application
Expand Down
22 changes: 17 additions & 5 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import '../node_modules/@ibm/plex/css/ibm-plex.css';

export const dataURL = 'data.json';

const adminPass = 'Iccc6430$';

export const micboard = [];
micboard.MIC_MODELS = ['uhfr', 'qlxd', 'ulxd', 'axtd'];
micboard.IEM_MODELS = ['p10t'];
Expand Down Expand Up @@ -108,19 +110,29 @@ export function updateNavLinks() {

function mapGroups() {
$('a#go-extended').click(() => {
slotEditToggle();
var promptPass = prompt('Please enter password to proceed.');
if (promptPass != null && promptPass === adminPass) {
slotEditToggle();
$('.collapse').collapse('hide');
}
});

$('a#go-config').click(() => {
initConfigEditor();
var promptPass = prompt('Please enter password to proceed.');
if (promptPass != null && promptPass === adminPass) {
initConfigEditor();
$('.collapse').collapse('hide');
}

});

$('a#go-groupedit').click(() => {
if (micboard.group !== 0) {
groupEditToggle();
$('.collapse').collapse('hide');
var promptPass = prompt('Please enter password to proceed.')
if (promptPass =! null && promptPass === adminPass) {
if (micboard.group !== 0) {
groupEditToggle();
$('.collapse').collapse('hide');
}
}
});

Expand Down