-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local.env.js for multiple enviroments/deploys #511
Comments
I think this discussion was had in #429 - the generated Did that answer your question @gintsgints? Or am I missing what you mean? |
Question you mention is related. Because it talks about situation with multiple remotes. But with same local.env.js for all remotes, it will never work. (in local.env.js DOMAIN variable is stored, witch is different for different remotes) |
Sounds like my wories is clarified in |
That is, if you are not using grunt to serve your app. If you are using grunt it will run |
Clear. If I use grunt, to start app.. it will use local.env. |
@gintsgints Grunt is not needed to start your server on a deployment machine. You can start it as a normal node process as long as you run it with the required environment variables. |
Yeah... enviroment variables is way to go. Thanks. |
As I understund local.env.js is used when build fullstack app into dist folder.
Does that mean I cannot distribute already built app (in dist folder) to different site?
The text was updated successfully, but these errors were encountered: