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/
|
node_modules/
|
||||||
.idea/
|
.idea/
|
||||||
config/lbryConfig.js
|
|
||||||
config/loggerConfig.js
|
|
||||||
config/mysqlConfig.js
|
config/mysqlConfig.js
|
||||||
config/siteConfig.js
|
config/siteConfig.js
|
||||||
devConfig/slackConfig.js
|
|
||||||
devConfig/sequelizeCliConfig.js
|
|
||||||
devConfig/testingConfig.js
|
|
||||||
|
|
||||||
public/bundle/
|
public/bundle/
|
||||||
index.js
|
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
|
* clone this repo
|
||||||
* run `npm install`
|
* run `npm install`
|
||||||
* create your own config files in `/config`
|
* 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
|
* 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`
|
* build the app by running `npm run build`
|
||||||
* to start the server, run `npm run start`
|
* to start the server, run `npm run start`
|
||||||
* visit [localhost:3000](http://localhost:3000)
|
* 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: {
|
development: {
|
||||||
username: '',
|
username: '',
|
||||||
password: '',
|
password: '',
|
||||||
|
@ -21,3 +21,5 @@ module.exports = {
|
||||||
dialect : 'mysql',
|
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