peer-base / peer-pad

📝 Online editor providing collaborative editing in really real-time using CRDTs and IPFS.
https://peerpad.net
MIT License
678 stars 56 forks source link

Support optional .env file for development / production config #256

Open jimpick opened 5 years ago

jimpick commented 5 years ago

I'd like to be able to tweak the app name and the rendezvous server multiaddr in development.

Those are also settings we'd probably want to change in various test / staging situations.

What do people think about using a .env file? I've used it in many projects.

https://github.com/motdotla/dotenv

victorb commented 5 years ago

Yes! .env are very pleasant and would be great to support. Same for peer-star-app itself.

parkan commented 5 years ago

+1 for dotenv, it's one standard most people can agree on :)