Skip to content

Commit c25ae4a

Browse files
committed
precommit
1 parent 6c3de47 commit c25ae4a

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

scaffolds/app_engine/README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Development Workflow
1+
# Development Workflow
22

33
## Local development
44

5-
The workflow described here works from CloudShell or any node with the [gcloud CLI](https://cloud.google.com/sdk/docs/install) has been properly installed and authenticated.
5+
The workflow described here works from CloudShell or any node with the [gcloud CLI](https://cloud.google.com/sdk/docs/install) has been properly installed and authenticated.
66

7-
This means that you can develop your application fully locally on your laptop for example, as long as you have run `make auth` after installing the [gcloud CLI](https://cloud.google.com/sdk/docs/install) on it.
7+
This means that you can develop your application fully locally on your laptop for example, as long as you have run `make auth` after installing the [gcloud CLI](https://cloud.google.com/sdk/docs/install) on it.
88

99
The first step is to add your `PROJECT` and `BUCKET` names in the following files:
1010
* `./scripts/config.sh`
@@ -23,14 +23,14 @@ The second step is to create and populate the virtual environment with
2323
```bash
2424
make venv
2525
```
26-
After this step you should find a new folder called `venv` containing the virtual environment.
26+
After this step you should find a new folder called `venv` containing the virtual environment.
2727

2828
At this point you should already be able to run the tests by running
2929
```bash
3030
make tests
3131
```
3232

33-
To run the app locally, simply run
33+
To run the app locally, simply run
3434
```bash
3535
make run
3636
```
@@ -48,4 +48,3 @@ make deploy
4848
1. Run the tests with `make tests`
4949
1. Test the app local with `make run`
5050
1. Deploy the app on AppEngine with `make deploy`
51-

scaffolds/app_engine/app/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
""" Flask serving API and small demo UI.
22
"""
3+
34
import logging
45

56
from flask import Flask, jsonify, request, send_file
67

7-
88
app = Flask(__name__)
99

1010

scaffolds/app_engine/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
""" Setup for pip install -e .
22
"""
3+
34
from setuptools import find_packages, setup
45

56
REQS = None

scaffolds/app_engine/tests/server_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
""" Integration tests for server.py
22
"""
3+
34
from app import server
45

56

0 commit comments

Comments
 (0)