-
Notifications
You must be signed in to change notification settings - Fork 8
Live server using 'all_ok' oauth module
These instructions will get you set up to run a live spotseeker server against scout and/or scout-manager using the 'all_ok' auth module (Note: this should only be used for testing purposes, never production).
Make sure that you have a .env
file set up. If not, copy the sample.env
file into your own .env
file (applies to spotseeker server, scout, and scout-manager):
cp sample.env .env
For each repository, you'll need to choose a different PORT for each service to run on.
In your .env
file, make sure that AUTH_MODULE is set to 'all_ok' (or commented out):
AUTH_MODULE=all_ok
To run against Live Spotseeker Server that is using the 'all_ok' AUTH_MODULE, uncomment and edit the following lines in your .env
files:
RESTCLIENTS_SPOTSEEKER_HOST=http://localhost:<Spotseeker Server PORT>
RESTCLIENTS_SPOTSEEKER_DAO_CLASS=Live
Make sure that the RESTCLIENTS_SPOTSEEKER_HOST matches the url to your running spotseeker server.