Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5950965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:28:09+00:00 2026-05-22T17:28:09+00:00

I would like to try an keep my development machine as close as the

  • 0

I would like to try an keep my development machine as close as the production server (heroku in this case).

Heroku lets you define config vars ie.

config:add key=val

This is now pretty secure as secret key values are not stored in my code.

Do you know how and where can I create such environment variables per app on my local mac machine.

I have googled this and as of yet not found a good solution. Any ideas ?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:28:10+00:00Added an answer on May 22, 2026 at 5:28 pm

    Thanks Zabba, But I have actually found a great way for me.

    I am using POW to run my local apps and reading the docs I have found out that you can set Environment Vars by adding a .powenv file in the root of my app ie.

    export API_KEY='abcdef123456'
    

    You can then use in your app like normal ie.

    api_key = ENV['API_KEY']
    

    Pretty kool stuff.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to try this code: public struct Direction { private int _azimuth;
I would try something like this but it isn't allowed. function GetDynamicModulesProperties() { var
I have been using Dreamweaver for my web development and would like to try
I would like to try programming genie , but I can't find neither source
I built a slideshow/decision-making game in Flash but would like to try to redo
I have an OS design project with some subprojects, I would like to try
I would like to to try Emacs, and want to give it the best
I would like to implement an B+ tree in Java and try to optimize
I'm starting to try and test my Doctrine objects with PHPUnit, and would like
I have a C++ DLL with code like this: LogMessage( Hello world ); try

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.