Skip to content
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

Configure multiple basedir #6

Open
michael-benin-CN opened this issue Dec 23, 2013 · 2 comments
Open

Configure multiple basedir #6

michael-benin-CN opened this issue Dec 23, 2013 · 2 comments

Comments

@michael-benin-CN
Copy link
Contributor

Make available multiple targets for basedir in configuration.

@johnkpaul
Copy link
Owner

Yeah, I've thought that I'd add NODE_ENV based package.json lookup to handle this in the future. I don't know what the best way is but there definitely needs to be a way to use multiple environments.

@johnkpaul
Copy link
Owner

Thinking about a config that looks like this.

"promethify": {
    "basedir": "src",
    "hostname": "local.dev",
    "port": 8089,
    "production: {
            "basedir": "src",
            "hostname": "cdn.yourwebsite.com",
            "outputDir": "out",
            "outputDeployPath": "static/project/releases",
            "port": 8089
     }
  }

Every property that is in the NODE_ENV property would override those from the main promethify config block. Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants