codeforsanjose / disaster-response-sj

Exploration of adding civic tech component to San Jose disaster response
MIT License
7 stars 12 forks source link

Setting up Local Database with Test Posts #90

Open cemanuel opened 4 years ago

cemanuel commented 4 years ago

Currently, when initializing the mongo database (in ./backend/libl/db ), we are always using a production URL. Instead, if the environmental variable is not set to PRODUCTION, we can setup a local database that is populated with sample posts that are available in the repo.