BarnesFoundation / barnes-tms-extract

Barnes Foundation Collection Website
GNU General Public License v3.0
31 stars 4 forks source link

Organize config files #11

Closed starakaj closed 7 years ago

starakaj commented 7 years ago

Right now the profusion of config files presents a bit of a mess. Sort it out.

starakaj commented 7 years ago

Progress. I've gotten rid of all of the credentials, config and unnecessary package.json files, and moved everything to the config directory. The files development.js and production.js (currently identical) export a JSON object that any javascript can load by requiring the 'config' package. Credentials are also stored in the github repo as encrypted files, using git-crypt. I've exported a key for unlocking the repo, which will need to be added to the README