Giter VIP home page Giter VIP logo

Comments (5)

whatyouhide avatar whatyouhide commented on August 31, 2024

Hey @cloud8421,

I'm not familiar with dotenv_elixir, but I guess you'd want this to deal with the ORIENTDB_USER and ORIENTDB_PASS environment variables needed in tests, right?

(btw, PRs are always welcome 😄)

from marco_polo.

cloud8421 avatar cloud8421 commented on August 31, 2024

Yes, that's exactly the reason why :)

from marco_polo.

whatyouhide avatar whatyouhide commented on August 31, 2024

@cloud8421 so let me get this straight. We would use a .env file at the root of the repository with something like this in it:

ORIENTDB_USER=root
ORIENTDB_PASS=root

If I'm getting this right, we wouldn't check this into git because those variables can change for each user. This .env file would allow us to do mix test with these env variables setup in the test environment.

Am I correct?

from marco_polo.

cloud8421 avatar cloud8421 commented on August 31, 2024

You are. You usually gitignore .env, but commit a .env.example file with
dummy data so that a new user knows what env variables are needed.
On Mon, 3 Aug 2015 at 19:01 Andrea Leopardi [email protected]
wrote:

@cloud8421 https://github.com/cloud8421 so let me get this straight. We
would use a .env file at the root of the repository with something like
this in it:

ORIENTDB_USER=root
ORIENTDB_PASS=root

If I'm getting this right, we wouldn't check this into git because those
variables can change for each user. This .env file would allow us to do mix
test with these env variables setup in the test environment.

Am I correct?


Reply to this email directly or view it on GitHub
#15 (comment)
.

from marco_polo.

whatyouhide avatar whatyouhide commented on August 31, 2024

Added dotenv_elixir in 4ecd72c! Thanks @cloud8421 :)

from marco_polo.

Related Issues (20)

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.