diff --git a/readMe.md b/readMe.md index 47f507f4..63997bab 100644 --- a/readMe.md +++ b/readMe.md @@ -19,8 +19,8 @@ It also supports the Google Home Broadcast command so you can send audio notific # Installation -Download a copy of this repository and then use `npm install` to get started - +Download a copy of this repository and then use `npm run setup` to get started. +Once setup, run `npm run start` Note: If you cloned this repo, you will need to execute the command in both the relay and client folder as the interface is not packaged diff --git a/relay/helpers/server.js b/relay/helpers/server.js index 619e438c..801d0e18 100644 --- a/relay/helpers/server.js +++ b/relay/helpers/server.js @@ -19,7 +19,7 @@ exports.initializeServer = function (text) { return new Promise(async(res, rej) => { const db = await low(adapter); await db.defaults({ - port: 3010, + port: 3000, muteStartup: false, quietHours: { enabled: false, diff --git a/release.js b/release.js index 1668053d..f6156acd 100644 --- a/release.js +++ b/release.js @@ -13,4 +13,5 @@ ncp('./relay/app.js', './release/app.js'); ncp('./relay/package.json', './release/package.json'); ncp('./relay/package-lock.json', './release/package-lock.json'); ncp('./LICENSE', './release/LICENSE'); -ncp('./readMe.md', './release/readMe.md'); \ No newline at end of file +ncp('./readMe.md', './release/readMe.md'); +if (fs.existsSync('./release/bin/config.json')) fs.unlinkSync('./release/bin/config.json');