Giter Club home page Giter Club logo

meteor-dotenv's People

Contributors

pauldowman avatar rgould avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meteor-dotenv's Issues

no variables set after `meteor deploy`

May be I'm missing something: it works locally but on remote deployment using meteor deploy all env variables seems to be 'undefined'.

Is that expected behaviour or am I doing something wrong?
Meteor 1.0.1

MONGO_URL support?

I can't seem to use the .env to specify the MONGO_URL.

Any way around this? I can set other environment variables and access them using process.env.NAMEHERE where .env contains NAMEHERE=whatever

But for MONGO_URL, I still see a Starting MongoDB... message when I start my app using $ meteor. Also if I console.log(process.env.MONGO_URL), I see mongodb://127.0.0.1:3001/meteor in my server logs.

How to run on IOS?

When I meteor run ios the env variables are not loaded. There's a fix for this?

Do you have sample code for using this package?!

I'm new to Node.js and Meteor. I got error as:

Your application is crashing. Waiting for file change.

Here is my code

var dotenv = Meteor.require('dotenv');
dotenv.load();

Meteor.startup(function(){
  console.log(process.env.GOOGLE_API_KEY);
});

Deprecation notice: how to use Meteor with npm's dotenv?

I wanted to ask since you state in your deprecation notice:

Meteor 1.3's integration with npm has made this package obsolete. You can now use npm's dotenv directly, but our recommendation is to use direnv, as it doesn't require making modifications to your project.

Can you please provide more info on how to make Meteor use npm's dotenv?
(direnv would be more hassle since would require to install and configure into developers' shells.)

Thanks a lot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.