Commit fbc37d2e authored by Marten Kenbeek's avatar Marten Kenbeek
Browse files

Added scripts to get Coursera API access token and DASH-IT Frontend client_id.

parent fe40e56f
......@@ -37,3 +37,5 @@ allow_prereleases = true
server = "python runserver"
migrate = "python migrate"
token = "python shell -c \"from oauth2_provider.models import AccessToken; print(AccessToken.objects.filter(application__name='Coursera API').order_by('expires').last().token)\""
client_id = "python shell -c \"from oauth2_provider.models import Application; print(Application.objects.get(name='DASH-IT Frontend').client_id)\""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment