Giter Site home page Giter Site logo

System-wide .env about semantra HOT 3 CLOSED

freedmand avatar freedmand commented on September 1, 2024
System-wide .env

from semantra.

Comments (3)

freedmand avatar freedmand commented on September 1, 2024 1

Fixed by #52 and released in v0.1.7. Upgrade by running pipx upgrade semantra.

You can now create a .env file in the Semantra directory that will work globally wherever you run the command. You can reveal this directory by running semantra --show-semantra-dir.

Thanks for your helpful feedback!

from semantra.

freedmand avatar freedmand commented on September 1, 2024

It will look at whatever your current working directory is when you run Semantra. So if you're running Semantra and your terminal is at your home directory, it might be something like C:\username. See here for more info on current working directory in Windows.

from semantra.

endolith avatar endolith commented on September 1, 2024

Ah, so I need to create a folder for Semantra that contains the .env and then run it from that folder? Even though pipx makes it so I can run semantra from any folder? Can there be a profile-wide .env instead?

from semantra.

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.