API key for docker build of astrometry.net

116 views
Skip to first unread message

Scott Swindell

unread,
Sep 3, 2018, 9:36:27 PM9/3/18
to astrometry
Hello Astrometry Folks,

I just built the docker version of astrometry.net and it was remarkably easy. Thanks for that! I would like to allow users to access to the API through my docker container. The problem is I don't know how to set up an API key even just one. I assume the api key is associated with the user in the django built database somewhere. Is there a way to build users by hand (or otherwise) in the database?

Thanks,

Scott (University of Arizona, Steward Observatrory)

Dustin Lang

unread,
Sep 3, 2018, 10:23:07 PM9/3/18
to astrometry
Hi,

Django does have a mechanism for inserting initial data -- see the astrometry/net/fixtures/initial_data.json file for example, where we create some initial users, including ones with API keys.

cheers,
--dustin


Reply all
Reply to author
Forward
0 new messages