We’ll go over the basic Twitter bot setup, including how to start a project from scratch, install necessary packages, and store our private keys in environment variables.
I suggest going with the dotenv package. Rather than bash_profile or profile then you can have different settings for different apps.
An update on how to deal with Twitter's new restrictions would be nice, they request a very detailed explanation on what you are going to do with any new apps created.