350 open graph react #360

Merged
bones7242 merged 30 commits from 350-open-graph-react into master 2018-02-24 17:55:00 +01:00
4 changed files with 6 additions and 5 deletions
Showing only changes of commit f17cf91817 - Show all commits

View file

@ -16,8 +16,8 @@ spee.ch is a single-serving site that reads and publishes images and videos to a
* run `npm install`
* create your `speechConfig.js` file
* copy `speechConfig.js.example` and name it `speechConfig.js`
* replace the `null` values in the config file with the appropriate values for your environement
* to start the server, from your command line run `node serverBundle.js`
* replace the `null` values in the config file with the appropriate values for your environment
* to start the server, from your command line run `node index.js`
* visit [localhost:3000](http://localhost:3000)
## Tests

View file

View file

@ -6,7 +6,7 @@
"scripts": {
"test": "mocha --recursive",
"test-all": "mocha --recursive",
"start": "node server.js",
"start": "nodemon server.js",
"lint": "eslint .",
"fix": "eslint . --fix",
"precommit": "eslint .",
@ -86,6 +86,7 @@
"eslint-plugin-standard": "^3.0.1",
"husky": "^0.13.4",
"mocha": "^4.0.1",
"nodemon": "^1.15.1",
"redux-devtools": "^3.4.1",
"regenerator-transform": "^0.12.3",
"webpack": "^3.10.0"

View file

@ -41,11 +41,11 @@ module.exports = [
__dirname: false,
},
externals: [nodeExternals()],
entry : ['babel-polyfill', 'whatwg-fetch', './server.js'],
entry : ['babel-polyfill', 'whatwg-fetch', './index.js'],
output : {
path : Path.resolve(__dirname),
publicPath: '/',
filename : 'serverBundle.js',
filename : 'server.js',
},
watch : true,
module: {