Skip to content

Commit

Permalink
dependency upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
frankhale committed Dec 18, 2018
1 parent 035ef1e commit 99dde9a
Show file tree
Hide file tree
Showing 5 changed files with 210 additions and 312 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Press 'F1' to show the server log:

#### Before start: Please note that this approach is intended to use in windows platform, any other OS approach would need some changes, contributions are very welcome

We'll need a copy of the `Node.exe` and `Node.lib`: [https://nodejs.org/dist/v9.4.0/win-x64/](https://nodejs.org/dist/v9.4.0/win-x64/)
We'll need a copy of the `Node.exe` and `Node.lib`: [https://nodejs.org/dist/v11.4.0/win-x64/](https://nodejs.org/dist/v11.4.0/win-x64/)

After downloading a copy of this repository place them in the root of the code
folder. When the Electron app starts it will spawn the Express app using an external copy of Node. This allows the Express app to run outside the Electron process.
Expand Down Expand Up @@ -83,12 +83,12 @@ electron-packager . --overwrite --platform=win32 --arch=x64 --prune=true --out=r
## Running on Linux
Download standalone distribution of Node:
[https://nodejs.org/dist/v9.4.0/node-v9.4.0-linux-x64.tar.gz](https://nodejs.org/dist/v9.4.0/node-v9.4.0-linux-x64.tar.gz)
[https://nodejs.org/dist/v11.4.0/node-v11.4.0-linux-x64.tar.gz](https://nodejs.org/dist/v11.4.0/node-v11.4.0-linux-x64.tar.gz)
Unpack it into the root of the cloned repository. Then create a symbolic link called 'node' at the same location.
```
ln -sf node-v9.4.0-linux-x64/bin/node node
ln -sf node-v11.4.0-linux-x64/bin/node node
```
Here is a screenshot of what it should look like:
Expand Down Expand Up @@ -123,8 +123,8 @@ npm start
## Running on OSX
* Download node binaries for OSX and extract the files.
* Copy the file called "node" into the root folder. There is no need of any other file (node.lib)
- Download node binaries for OSX and extract the files.
- Copy the file called "node" into the root folder. There is no need of any other file (node.lib)
In **index.html** change the line
Expand Down Expand Up @@ -159,7 +159,7 @@ npm start
## Author(s)
Frank Hale <frankhale@gmail.com>
30 April 2018
18 December 2018
## License
Expand Down
183 changes: 60 additions & 123 deletions express-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions express-app/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "express-app",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"body-parser": "^1.18.3",
"cookie-parser": "^1.4.3",
"debug": "^3.1.0",
"express": "^4.16.3",
"debug": "^4.1.0",
"express": "^4.16.4",
"hbs": "^4.0.1",
"morgan": "^1.9.0",
"morgan": "^1.9.1",
"serve-favicon": "^2.5.0"
}
}
Loading

0 comments on commit 99dde9a

Please sign in to comment.