Comments (6)
Hi @larzconwell, generally any feature that does not break existing functionality is welcome.
Some features are easy for me to add, others may require a pull-request. Internally node-foreman can be refactored, that's not a problem.
Can you provide an example of the .env
file you would like to work?
from node-foreman.
My env file only has the following line
ENVIRONMENT=development
then my Procfile would have something like
redis: redis-server config/redis_$ENVIRONMENT.conf
I'd be willing to make a PR, just wanted to make sure the feature was welcome, and possible.
from node-foreman.
I don't mind adding this, but I do think a better approach is separate environment files.
Anyways, how would exports be resolved? I don't mind just flat out erroring, but I don't want anyone to be surprised by an export with odd behaviour.
from node-foreman.
Yeah I do have separate environment files one for development and one for production.
from node-foreman.
Sorry I mis-read your original request. Totally misunderstood. It makes a lot more sense now!
Feel free to go ahead, let me know if you get stuck.
from node-foreman.
Alright will do!
from node-foreman.
Related Issues (20)
- Using .env parameters inside Procfile HOT 2
- How to handle nf run child process options HOT 2
- Regex DoS (ReDos) Vulnerability [FIXED] HOT 14
- Handling release entry in procfile HOT 7
- npm reported sever vulnerability in nf HOT 1
- Profile parsing fails if tuple is not set or has no items HOT 1
- Redis exits with code 1 or null, node-foreman does not appear to wait as foreman does HOT 1
- Spuriously escapes some characters on windows HOT 1
- library usage of `node-foreman`? HOT 1
- Error when starting foreman: Cannot read property '1' HOT 3
- Sequential tasks HOT 3
- How to use different shell to /bin/sh HOT 4
- all processes are killed if one process exits HOT 5
- Processes don't always exit on Ctrl-C (SIGINT)
- How to run nf run 'node --expose-gc' app.js
- .env parsing does not allow for BASH references like other dotenv implementations
- Mac now defaults to using port 5000
- Disable Logging or log levels
- Command-line option to disable automatic PORT assignment
- `nf` claims to have delivered `SIGINT` to all children on exit from one, but does not actually HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-foreman.