willzeng / cograph

A way to build and explore webs of ideas.
http://www.cograph.co/
GNU General Public License v2.0
15 stars 3 forks source link

Begin to move DB credentials out of codebase #646

Open harlantwood opened 9 years ago

harlantwood commented 9 years ago

The diff on this will make more sense once #642 is merged.

Use the awesome dotenv package to load environment variables either from process.env (if they exist there, as on Heroku) or from a local .env file, typically on a dev box.

We should add notes in the README as well, eg:

To get started in your local dev env: cp .env.example .env Change any credentials to your own databases, etc

This will close issue #643.