Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-nodejs
Commits
5831386b
Commit
5831386b
authored
Aug 14, 2015
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #258 from SonicHedgehog/node-env-runtime
Default to NODE_ENV=production during runtime
parents
96a0d3d2
a5051ca1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
CHANGELOG.md
CHANGELOG.md
+4
-0
nodejs.sh
profile/nodejs.sh
+1
-0
No files found.
CHANGELOG.md
View file @
5831386b
# Node.js Buildpack Changelog
# Node.js Buildpack Changelog
## Upcoming
-
Fix not defaulting to
`NODE_ENV=production`
during runtime
## v79 (2015-08-10)
## v79 (2015-08-10)
Supports WEB_CONCURRENCY for Performance-M dynos
Supports WEB_CONCURRENCY for Performance-M dynos
...
...
profile/nodejs.sh
View file @
5831386b
...
@@ -30,6 +30,7 @@ detect_memory() {
...
@@ -30,6 +30,7 @@ detect_memory() {
export
PATH
=
"
$HOME
/.heroku/node/bin:
$HOME
/bin:
$HOME
/node_modules/.bin:
$PATH
"
export
PATH
=
"
$HOME
/.heroku/node/bin:
$HOME
/bin:
$HOME
/node_modules/.bin:
$PATH
"
export
NODE_HOME
=
"
$HOME
/.heroku/node"
export
NODE_HOME
=
"
$HOME
/.heroku/node"
export
NODE_ENV
=
${
NODE_ENV
:-
production
}
calculate_concurrency
calculate_concurrency
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment