Lets add a new database (maybe called courseplanner-db) for testing changes to JSON specifications and what not. We will never want to do any testing on the production database when there are users currently relying on this data.
A flag/option will need to be added to scrapeTheWeb.sh as well as course-info-storer/storer.js and course-seq-scraper/storer.js (lets also fix that clearly poor folder naming) in order to tell the webscraper whether to push to the production or development DB.
We will also need to add a clause to the deploy script where it tells the backend to use the development or production database. This will not require additional params for the script since that info can already be inferred.
Lets add a new database (maybe called
courseplanner-db
) for testing changes to JSON specifications and what not. We will never want to do any testing on the production database when there are users currently relying on this data.A flag/option will need to be added to
scrapeTheWeb.sh
as well ascourse-info-storer/storer.js
andcourse-seq-scraper/storer.js
(lets also fix that clearly poor folder naming) in order to tell the webscraper whether to push to the production or development DB.We will also need to add a clause to the deploy script where it tells the backend to use the development or production database. This will not require additional params for the script since that info can already be inferred.