pushkin-consortium / pushkin-exptemplates-basic

Basic jsPsych experiment with a "hello world" timeline.
MIT License
0 stars 6 forks source link

Env variables #11

Closed jkhartshorne closed 4 years ago

jkhartshorne commented 4 years ago

If this doesn't cause any problems / seems to work, can add to other experiment templates:

const db_conn_address = process.env.DB_SMARTURL || `postgres://${db_user}:${db_pass}@${db_url}/${db_name}`;
conbainbridge commented 4 years ago

Saw the other issues before this so holding off on bundling the releases, it doesn't seem like this is working as it's hanging at the "Loading..." page for the experiment. I don't see any errors anywhere so not sure how to debug this.

jkhartshorne commented 4 years ago

Just did some updates. Should probably work now.