removed non-sensitive config vars from .gitignore
This commit is contained in:
parent
321eb1b993
commit
9696ef04dc
9 changed files with 16 additions and 29 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -1,12 +1,8 @@
|
|||
node_modules/
|
||||
.idea/
|
||||
config/lbryConfig.js
|
||||
config/loggerConfig.js
|
||||
|
||||
config/mysqlConfig.js
|
||||
config/siteConfig.js
|
||||
devConfig/slackConfig.js
|
||||
devConfig/sequelizeCliConfig.js
|
||||
devConfig/testingConfig.js
|
||||
|
||||
public/bundle/
|
||||
index.js
|
||||
|
|
|
@ -13,11 +13,9 @@ Spee.ch is a web app that reads and publishes images and videos to and from the
|
|||
* clone this repo
|
||||
* run `npm install`
|
||||
* create your own config files in `/config`
|
||||
* copy `example.js.example` and name it `example.js`
|
||||
* copy `mysqlConfig.js.example` and name it `mysqlConfig.js`
|
||||
* copy `siteConfig.js.example` and name it `siteConfig.js`
|
||||
* replace the `null` values in the config file with the appropriate values for your environment
|
||||
* create your own config files in `/devConfig`
|
||||
* copy `example.js.example` and name it `example.js`
|
||||
* note: you must create these files, but the default values are sufficient if you do not want to update them.
|
||||
* build the app by running `npm run build`
|
||||
* to start the server, run `npm run start`
|
||||
* visit [localhost:3000](http://localhost:3000)
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
module.exports = {
|
||||
api: {
|
||||
apiHost: 'localhost',
|
||||
apiPort: '5279',
|
||||
},
|
||||
};
|
|
@ -1,3 +0,0 @@
|
|||
module.exports = {
|
||||
logLevel: 'debug', // options: silly, debug, verbose, info
|
||||
};
|
|
@ -1,4 +1,4 @@
|
|||
module.exports = {
|
||||
const sequelizeCliConfig = {
|
||||
development: {
|
||||
username: '',
|
||||
password: '',
|
||||
|
@ -21,3 +21,5 @@ module.exports = {
|
|||
dialect : 'mysql',
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = sequelizeCliConfig;
|
5
devConfig/slackConfig.js
Normal file
5
devConfig/slackConfig.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
module.exports = {
|
||||
slackWebHook : '',
|
||||
slackErrorChannel: '',
|
||||
slackInfoChannel : null,
|
||||
};
|
|
@ -1,5 +0,0 @@
|
|||
module.exports = {
|
||||
slackWebHook : null,
|
||||
slackErrorChannel: null,
|
||||
slackInfoChannel : null,
|
||||
};
|
5
devConfig/testingConfig.js
Normal file
5
devConfig/testingConfig.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
module.exports = {
|
||||
testChannel : '',
|
||||
testChannelId : '',
|
||||
testChannelPassword: '',
|
||||
};
|
|
@ -1,5 +0,0 @@
|
|||
module.exports = {
|
||||
testChannel : null, // a channel to make test publishes in
|
||||
testChannelId : null, // the claim id for the test channel
|
||||
testChannelPassword: null, // password for the test channel
|
||||
};
|
Loading…
Reference in a new issue