Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Fix pkg example express app #668

Merged
merged 2 commits into from
Apr 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,13 @@

# logs
npm-debug.log

# General macOS
.DS_Store
examples/.DS_Store

# Example pkg'd application
examples/express/express-example

# Example dependencies
examples/express/node_modules
2 changes: 1 addition & 1 deletion examples/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"views/**/*"
],
"targets": [
"node7"
"node8"
]
}
}
16 changes: 15 additions & 1 deletion examples/express/readme.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
Run `pkg .` here!
# Express-Example

> This example illustrates using `pkg` on a simple Express based app
## Instructions

1. Run `npm install`
2. Run `pkg .`

That's it!

## Post Success Notes

* Upon success, `pkg` will create an executable named "express-example". This file can be found at the root of the example project directory.
* To see the app in action, run the executable then navigate to http://localhost:8080/ in your browser.