Skip to content

Commit f17a46e

Browse files
authored
Merge pull request #50 from realpython/flask-google-login
materials for google login article
2 parents b219349 + f599c4d commit f17a46e

File tree

8 files changed

+524
-0
lines changed

8 files changed

+524
-0
lines changed

flask-google-login/Pipfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[[source]]
2+
name = "pypi"
3+
url = "https://pypi.org/simple"
4+
verify_ssl = true
5+
6+
[dev-packages]
7+
8+
[packages]
9+
requests = "~=2.21.0"
10+
oauthlib = "~=3.0.1"
11+
Flask = "~=1.0.2"
12+
pyopenssl = "~=19.0.0"
13+
flask-login = "~=0.4.1"
14+
15+
[requires]
16+
python_version = "3"

flask-google-login/Pipfile.lock

Lines changed: 226 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flask-google-login/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# google-client-app
2+
Flask, Flask-Login, Login with Google, App setup as Google Client
3+
4+
Installation with Pipenv:
5+
6+
```
7+
pipenv install
8+
```
9+
10+
Installation without Pipenv:
11+
12+
```
13+
pip install -r requirements.txt
14+
```
15+
16+
Initalize the database by running app.py for the first time:
17+
18+
```
19+
python app.py
20+
```
21+
22+
Should see "Initialized the database."
23+
24+
Run the command again to start the Flask web server locally:
25+
26+
```
27+
python app.py
28+
```

0 commit comments

Comments
 (0)