-
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.
Managed to get the whole thing working with docker compose
- Loading branch information
Showing
19 changed files
with
147 additions
and
3,002 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,2 @@ | ||
users.json filter=lfs diff=lfs merge=lfs -text | ||
projects.json filter=lfs diff=lfs merge=lfs -text |
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
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,15 +1,2 @@ | ||
from google.cloud import datastore | ||
|
||
# For the gcloud auth to work properly this env variable should be set | ||
# GOOGLE_APPLICATION_CREDENTIALS=.secrets/service-account.json | ||
|
||
KIND_USERS = "github_users" | ||
KIND_PROJECTS = "github_projects" | ||
__CLIENT = None | ||
|
||
|
||
def get_client(): | ||
global __CLIENT | ||
if __CLIENT is None: | ||
__CLIENT = datastore.Client() | ||
return __CLIENT |
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,22 +1,38 @@ | ||
# prod deps | ||
aniso8601==9.0.1 | ||
annotated-types==0.7.0 | ||
attrs==24.2.0 | ||
camel-converter==3.1.2 | ||
certifi==2024.7.4 | ||
charset-normalizer==3.3.2 | ||
click==7.1.2 | ||
flake8==4.0.1 | ||
Flask==1.1.4 | ||
Flask-Cors==3.0.10 | ||
Flask-Cors==4.0.1 | ||
flask-restplus==0.13.0 | ||
Flask-Script==2.0.6 | ||
Flask-Restplus==0.13.0 | ||
google-api-core==2.3.0 | ||
google-auth==2.3.3 | ||
google-cloud-core==2.2.1 | ||
google-cloud-datastore==2.4.0 | ||
googleapis-common-protos==1.54.0 | ||
protobuf==3.19.1 | ||
idna==3.7 | ||
iniconfig==2.0.0 | ||
itsdangerous==1.1.0 | ||
Jinja2==2.11.3 | ||
jsonschema==4.23.0 | ||
jsonschema-specifications==2023.12.1 | ||
MarkupSafe==2.0.1 | ||
requests==2.26.0 | ||
requests-oauthlib==1.3.0 | ||
configparser==5.2.0 | ||
meilisearch==0.17.0 | ||
Werkzeug==0.16.1 | ||
|
||
# dev deps | ||
flake8==4.0.1 | ||
mccabe==0.6.1 | ||
meilisearch==0.31.4 | ||
packaging==24.1 | ||
pluggy==1.5.0 | ||
py==1.11.0 | ||
pycodestyle==2.8.0 | ||
pydantic==2.8.2 | ||
pydantic_core==2.20.1 | ||
pyflakes==2.4.0 | ||
pytest==6.2.5 | ||
pytz==2024.1 | ||
referencing==0.35.1 | ||
requests==2.32.3 | ||
rpds-py==0.20.0 | ||
six==1.16.0 | ||
toml==0.10.2 | ||
typing_extensions==4.12.2 | ||
urllib3==2.2.2 | ||
Werkzeug==0.16.1 |
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.