Automatically create .env file
imranhsayed opened this issue · 0 comments
imranhsayed commented
- Write a bash scripts that creates a .env file in the root of the front-end directory( take reference from .env-example about the required variables )
- Add the command to run this script as part of the frontend initial set up and it should prompt the user to enter the WordPress URL ( default should be http://localhost:8020, if it does not enter anything )
- The message should say that leave it blank for development.
Add information about this in README.