Add a python script to automatically populate the IP address in .env on app start. This script is only run on yarn dev, not yarn start. This is because I'm assuming yarn start is going to be used to run the app on production
Add another env variable to configure the prod environment (prod, dev, etc) to use in specifying the graphql url
Remove .env file since it is now gitignored, add an example .env file that can be copied for dev setup
Some small changes for running the app locally:
.env
on app start. This script is only run onyarn dev
, notyarn start
. This is because I'm assumingyarn start
is going to be used to run the app on production.env
file that can be copied for dev setup