An Impressory server can be configured either by setting environment variables, or by passing arguments to the start-up script
The following environment variables configure the MongoDB connection:
$IMPRESSORY_MONGO_URL
$IMPRESSORY_MONGO_DBNAME
$IMPRESSORY_MONGO_DBUSER
$IMPRESSORY_MONGO_DBPWD
These can also be set by passing them as arguments to the start script:
-Dmongo.connection=
-Dmongo.dbname=
-Dmongo.dbuser=
-Dmongo.dbpwd=
Social media logins¶
Students can log in using GitHub or Twitter accounts.
For this to work, you’ll need to set an OAuth client key and secret that is issued to you by GitHub or Twitter.
GitHub:
Register an application on GitHub
The authorisation callback URL is {your server URL} + /oauth/github/callback
Set the Client ID and Client Secret before starting Assessory. This can be done by setting these environment variables:
or by passing them as arguments to the start script:
Twitter:
Register an application on Twitter
The authorisation callback URL is {your server URL} + /oauth/twitter/callback
Set the Client ID and Client Secret before starting Assessory. This can be done by setting these environment variables:
or by passing them as arguments to the start script: