Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: V1.0 #9

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@ jobs:
name: buildfiles
path: .

pubishtest:
if: "!startsWith(github.ref, 'refs/tags/v')"
name: 📦 publish to TestPyPI
runs-on: ubuntu-latest
needs: [ build ]

steps:
- uses: actions/download-artifact@master
with:
name: buildfiles
path: .

- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
# pubishtest:
# if: "!startsWith(github.ref, 'refs/tags/v')"
# name: 📦 publish to TestPyPI
# runs-on: ubuntu-latest
# needs: [ build ]
#
# steps:
# - uses: actions/download-artifact@master
# with:
# name: buildfiles
# path: .
#
# - name: Publish distribution 📦 to Test PyPI
# uses: pypa/gh-action-pypi-publish@master
# with:
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/

publish:
if: "startsWith(github.ref, 'refs/tags/v')"
Expand Down Expand Up @@ -110,4 +110,4 @@ jobs:
files: dist/*
body: ${{ steps.changelog_reader.outputs.changes }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ The static paths are stored in an app.yaml as handlers and are therefore compati
## Getting Started
Take a look at the example folder. Here you can find a start.sh which starts the App Server on port 8080.

### External APIs
App Server allows app code to connect to external APIs, eg [Google Cloud Datastore](https://cloud.google.com/datastore/docs/), like normal. To use the [local datastore emulator](https://cloud.google.com/datastore/docs/tools/datastore-emulator), first start it, then in a separate shell [set the appropriate environment variables](https://cloud.google.com/datastore/docs/tools/datastore-emulator#setting_environment_variables) (notably `DATASTORE_EMULATOR_HOST` and `DATASTORE_DATASET`) to point your app to it before you run App Server.

### Dependencies
The app server dependents on the following packages
Expand Down
6 changes: 2 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ package_dir =
packages = find:
python_requires = >=3.8
install_requires =
werkzeug~=2.3.7
werkzeug~=3.1.2
pyyaml~=6.0
gunicorn~=21.2.0
gunicorn~=23.0.0
fs~=2.4.16
grpcio>=1.58.0

Expand All @@ -31,5 +31,3 @@ where = src
[options.entry_points]
console_scripts =
app_server = app_server:main
gcloud-storage-emulator = app_server.storage:main
gcloud-tasks-emulator = app_server.tasks:main
Loading
Loading