Skip to content

Setting system environment variables before meteor app is started. #64

Description

@ethanwillis

Hello, I tried digging into your electrify code to see where I could include an additional script to set system environment variables before the meteor app is started.

My use case is that I want to create an electron app but point meteor to my hosted compose.io mongodb servers. I initially was going to set all my information in Meteor's settings.json... However settings.json is well known to not allow us to set the port for the mongo instance and other information.

If you would have any guidance on the chain of calls that happen up to and including the start of the meteor server I would love to do a PR for an enhancement to allow for other users to do what I'm aiming for!

Thanks,
Ethan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions