forked from vpython/glowscript
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #4 from trinketapp/v3.1.0
V3.1.0
- Loading branch information
Showing
71 changed files
with
4,112 additions
and
3,258 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,3 @@ | ||
.git | ||
.gitignore | ||
/api/venv |
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,7 @@ | ||
FLASK_APP=main.py | ||
FLASK_ENV=development | ||
FLASK_RUN_HOST=localhost | ||
FLASK_RUN_PORT=8080 | ||
GLOWSCRIPT_RUNNING_LOCALLY=true | ||
DATASTORE_EMULATOR_HOST=localhost:8081 | ||
CLIENT_SECRET_VERSION=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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This file specifies files that are *not* uploaded to Google Cloud Platform | ||
# using gcloud. It follows the same syntax as .gitignore, with the addition of | ||
# "#!include" directives (which insert the entries of the given .gitignore-style | ||
# file at that point). | ||
# | ||
# For more information, run: | ||
# $ gcloud topic gcloudignore | ||
# | ||
.gcloudignore | ||
# If you would like to upload your .git directory, .gitignore file or files | ||
# from your .gitignore file, remove the corresponding line | ||
# below: | ||
.git | ||
.gitignore | ||
/venv | ||
# Ignored by the build system | ||
/setup.cfg |
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,7 +1,12 @@ | ||
|
||
node_modules | ||
bower_components | ||
*.pyc | ||
.DS_Store | ||
*~ | ||
/venv | ||
__pycache__/ | ||
*~ | ||
/.vscode/ | ||
/ide/.vscode | ||
/ide/flask_secret.py | ||
|
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,18 @@ | ||
FROM python:3.8.5-buster | ||
|
||
RUN mkdir /app | ||
|
||
WORKDIR /app | ||
|
||
COPY ./requirements.txt /app | ||
|
||
RUN pip install -U pip | ||
|
||
RUN pip install -r requirements.txt | ||
|
||
COPY . /app | ||
|
||
CMD flask run | ||
|
||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...line/glowscript_libraries/glow.3.0.min.js → ...line/glowscript_libraries/glow.3.1.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
version: "2" | ||
|
||
# | ||
# This compose file can be used to run locally without using the locally installed python or dependencies | ||
# | ||
|
||
services: | ||
|
||
datastore: | ||
image: gcr.io/google.com/cloudsdktool/cloud-sdk:latest | ||
ports: | ||
- 8081:8081 | ||
volumes: | ||
- datastore:/root/.config | ||
command: gcloud beta emulators datastore start --host-port=0.0.0.0:8081 --project glowscript-dev | ||
|
||
flask: | ||
image: us.gcr.io/glowscript-py38/glowscript-flask:latest | ||
ports: | ||
- 8080:8080 | ||
links: | ||
- datastore | ||
volumes: | ||
- .:/app | ||
- datastore:/root/.config | ||
environment: | ||
- DATASTORE_EMULATOR_HOST=datastore:8081 | ||
- FLASK_RUN_HOST=0.0.0.0 | ||
- FLASK_RUN_PORT=8080 | ||
command: flask run | ||
|
||
volumes: | ||
datastore: |
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,17 @@ | ||
version: "2" | ||
|
||
# | ||
# This compose file is just for running the datastore locally. | ||
# | ||
|
||
services: | ||
datastore: | ||
image: gcr.io/google.com/cloudsdktool/cloud-sdk:latest | ||
ports: | ||
- 8081:8081 | ||
volumes: | ||
- datastore:/root/.config | ||
command: sh -c "gcloud beta emulators datastore start --host-port=0.0.0.0:8081 --project glowscript-dev" | ||
|
||
volumes: | ||
datastore: |
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
Oops, something went wrong.