How to use different env for different projects?
<p>I have two projects running on a server. I'm storing AWS_SECRET in env.</p>

<p>I set those env in my ~/.bash_profile. How do I make sure that one project gets the correct key? Can I set env only on project scope?</p>

<p>Thanks.</p>

<p>On thing you can do is set the environment variables on runtime.</p>

<p>Example:</p>

<pre><code>$ AWS_SECRET="Secret1" run_server1 arg1 arg2 arg3
$ AWS_SECRET="Secret2" run_server2 arg1 arg2 arg3
</code></pre>

python unix