Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Atul Varma e7d5bc57ae Health check subsystems can provide richer data about their status.
Specifically, if they set a 'notes' property on their metadata object,
it will be displayed in the console version of their results, for
easier debugging.
2013-06-03 22:18:28 -04:00
Atul Varma 474ad3ca7c Fake S3/email can only be used when NODE_ENV=development.
Also show a warning message if NODE_ENV is unset, and cleaned up README.md
a bit.
2013-06-03 21:32:23 -04:00
Atul Varma 4bf40a8222 Added /health_check endpoint, with health check at startup too.
The health check ensures that s3, aestimia, openbadger, and MySQL
connections are all functional.

Currently the cookie secret is used as the password at /health_check but
we can change this later in app.js.
2013-06-03 16:30:31 -04:00
Atul Varma 0777e011fb Now fake S3 storage is used if CSOL_AWS_FAKE_S3_DIR is specified.
I also added some code that checks to see if the required CSOL_AWS_*
env vars are defined; if they're not, it throws a helpful error and
mentions that CSOL_AWS_FAKE_S3_DIR can be used as an alternative.

Unfortunately I haven't been able to test out this integration yet,
because I'm having trouble figuring out how to upload evidence locally on
the website...
2013-05-31 10:57:32 -04:00
Andrew Hayward 72ae40a76f Handling env variables properly 2013-05-29 01:39:37 +01:00
Andrew Hayward afaf26ce92 Setting up S3 wrapper around `knox` 2013-05-28 18:08:06 +01:00