metasearch
metasearch copied to clipboard
Dockerize "make oauth" functionality
When you use metasearch for Google Drive, you want to produce refresh token with make oauth.
This requires git clone of the repository, which is totally ok but still a little inconvenient.
If the token can be produced with a single docker run command, it would be more convenient.
@nobishino , did you work out a nice way to do this? Is this possible with the gcloud cli?
It doesn't just require cloning the repo, it requires node, a full compile etc. And mine doesn't compile, just gets stuck, seemingly forever at Compiling TypeScript...
I tried with a
gcloud auth print-access-token
But the docker run failed with
Cannot read property 'client_id' of undefined