Open cesine opened 9 years ago
the _session is handled in fielddb as resumesessiontoken
Thanks. (Chrome's dev tools network tab is so illuminating!)
@cesine How do I get the auth server running on my dev machine (I haven't tried to figure it out on my own yet ...)
I think I figured it out:
$ cd ~/fielddbhome/AuthenticationWebService/
$ ./switch_to_develop_locally_offline.sh
$ node service.js
Now the auth service will now be running on https://localhost:3183.
@cesine I'm trying to get a succinct write-up on how to configure and set up LingSync and OLD web services for Dative development. See https://github.com/jrwdunham/dative/wiki/LingSync-&-OLD-web-services-development-setup. Feel free to contribute or comment or link.
i added instructions, but the instructions are either incredibly detailed (400 lines of commented bash) or very unclear, which is why we use install scripts for all our interns.
arguments for reading the install scripts instead:
1 this is also why we don't bother keeping the instructions in the wiki anymore because the wiki is always out of date whereas each time we get a new intern we update the scripts.
2 we also made a video specifically for you and gabriel, maybe you haven't seen it yet :) https://github.com/OpenSourceFieldlinguistics/FieldDB/issues/1552 https://www.youtube.com/watch?v=S3YHvW7R3Gw&feature=youtu.be
3 we also did incorporate your feedback which you gave about the install scripts making annoying decisions in 2012 at the hackathon... since they we have had time to expand them so that they don't tamper with the system, or install globally or do anything which could possibly annoy you.
for now here is an authentication example for fielddb https://github.com/OpenSourceFieldlinguistics/FieldDB/blob/master/angular_client/modules/core/app/scripts/directives/fielddb-authentication.js