This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from mozilla/allauth
Bug 1273037 - Move from Personal to Google Auth
- Loading branch information
Showing
26 changed files
with
529 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.PHONY: build clean creds migrate shell static test up | ||
|
||
creds: | ||
@docker-compose run web ./manage.py add_google_credentials \ | ||
--client-id="$(CLIENT_ID)" --client-secret="$(CLIENT_SECRET)" | ||
|
||
build: | ||
docker-compose build | ||
|
||
clean: | ||
docker-compose rm -f | ||
rm -rf static/ | ||
|
||
migrate: | ||
docker-compose run web ./manage.py migrate --run-syncdb | ||
|
||
shell: | ||
docker-compose run web bash | ||
|
||
static: | ||
# this is only necessary after adding/removing/editing static files | ||
docker-compose run web ./manage.py collectstatic --noinput | ||
|
||
test: static | ||
docker-compose run web ./manage.py test | ||
|
||
up: | ||
docker-compose up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
default_app_config = 'atmo.apps.AnalysisServiceAppConfig' | ||
default_app_config = 'atmo.apps.AtmoAppConfig' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% extends "atmo/base.html" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{% extends "account/base.html" %} | ||
{% load socialaccount static %} | ||
|
||
{% block head_title %}Login{% endblock %} | ||
|
||
{% block head_extra %} | ||
<link href="{% static "css/login.css" %}" rel="stylesheet" /> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="jumbotron text-center"> | ||
<h1>Telemetry Data Analysis</h1> | ||
<p>To get started, log in with an <code>@mozilla.com</code> email!</p> | ||
<a class="btn btn-lg btn-primary login-button" href="{% provider_login_url "google" next= redirect_field_value %}">Login with Google</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<h2>What is this?</h2> | ||
<p>The Telemetry Data Analysis service gives direct access to Mozilla Telemetry data:</p> | ||
<ul> | ||
<li>Perform interactive analyses with <a href="http://spark.apache.org/">Apache Spark</a> and <a href="http://jupyter.org/">Jupyter</a>.</li> | ||
<li>Run custom map-reduce analyses with the <a href="https://github.com/mozilla/telemetry-server/blob/master/docs/MapReduce.md">Telemetry MapReduce framework</a>.</li> | ||
<li>Schedule these analyses so they run on a regular basis, publishing output to <a href="https://aws.amazon.com/s3/">Amason S3</a>.</li> | ||
</ul> | ||
</div> | ||
<div class="col-md-6"> | ||
<h2>Links & resources</h2> | ||
<ul> | ||
<li>The <a href="https://telemetry.mozilla.org/">Telemetry Dashboards</a> cover the most common use cases for Telemetry data.</li> | ||
<li>The <a href="https://github.com/mozilla/telemetry-analysis-service">source code</a> for this service.</li> | ||
<li>Information about <a href="http://robertovitillo.com/2015/01/16/next-gen-data-analysis-framework-for-telemetry/">how to use custom analyses</a>.</li> | ||
<li>An overview of all the <a href="http://anthony-zhang.me/blog/telemetry-demystified/">Telemetry-related services</a> offered by Mozilla.</li> | ||
</ul> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.