Skip to content

Commit

Permalink
Merge pull request #6 from versx/develop
Browse files Browse the repository at this point in the history
Release 1.0
  • Loading branch information
versx authored Apr 20, 2020
2 parents 445aeca + 5f2b292 commit dd6e7eb
Show file tree
Hide file tree
Showing 32 changed files with 2,099 additions and 641 deletions.
33 changes: 33 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module.exports = {
'env': {
'commonjs': true,
'es6': true,
'node': true
},
'extends': 'eslint:recommended',
'globals': {
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly'
},
'parserOptions': {
'ecmaVersion': 2018
},
'rules': {
'indent': [
'error',
4
],
'linebreak-style': [
'error',
'windows'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
]
}
};
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,6 @@ dist
.tern-port

# No main configs
config.json
config.json

logs
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

To be used with RealDeviceMap macless solution Kevin.

1.) `npm install`
2.) `cp config.example.json config.json`
3.) Fill out `config.json`
4.) Run `schema.sql` to create the database and tables
5.) `node index.js`
1.) Install dependencies `npm install`
2.) Copy config `cp src/config.example.json src/config.json`
3.) Fill out `vi config.json`
4.) Run `node run start`

Once everything is setup and running appropriately, you can add this to PM2 ecosystem.config.js file so it is automatically started:
Once everything is setup and running appropriately, you can add this to PM2 ecosystem.config.js file so it is automatically started:
```
module.exports = {
apps : [
Expand Down
Loading

0 comments on commit dd6e7eb

Please sign in to comment.