Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Configuring environment variable for port, plus bugfix for #3 PR #5

Merged
merged 11 commits into from
Nov 27, 2017

Conversation

blacksoulgem95
Copy link

Using the environment variable PORT for handling the server port (now it can run on Heroku or Docker) plus added a fix for pr #3

@blacksoulgem95
Copy link
Author

I've deployed this app on heroku for test. Is unstable to run "docker image build" (the image will be created but the app will fail to start onto the container) but is safe to run it on heroku.
here is the live demo
https://api.atmmicrawler.cf/v1

@@ -5,7 +5,7 @@
"email": "moebiusmania@gmail.com"
},
"engines": {
"node": "8.5.0"
"node": "^8.5.0"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove caret plz, fixed version number is better 😉

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

without the caret it will run only on node 8.5.0, not on 8.5.1 or 8.9.1, isn't more safe to allow to use the last version of the major?

@moebiusmania moebiusmania merged commit 3927293 into moebiusmania:master Nov 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants