removed non-sensitive config vars from .gitignore

This commit is contained in:
bill bittner 2018-03-19 16:58:15 -07:00
parent 321eb1b993
commit 9696ef04dc
9 changed files with 16 additions and 29 deletions

6
.gitignore vendored
View file

@ -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

View file

@ -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)

View file

@ -1,6 +0,0 @@
module.exports = {
api: {
apiHost: 'localhost',
apiPort: '5279',
},
};

View file

@ -1,3 +0,0 @@
module.exports = {
logLevel: 'debug', // options: silly, debug, verbose, info
};

View file

@ -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
View file

@ -0,0 +1,5 @@
module.exports = {
slackWebHook : '',
slackErrorChannel: '',
slackInfoChannel : null,
};

View file

@ -1,5 +0,0 @@
module.exports = {
slackWebHook : null,
slackErrorChannel: null,
slackInfoChannel : null,
};

View file

@ -0,0 +1,5 @@
module.exports = {
testChannel : '',
testChannelId : '',
testChannelPassword: '',
};

View file

@ -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
};