/appengine-tensorflow-python3

Hello World app using python3 and tensorflow for google app engine

Primary LanguagePythonApache License 2.0Apache-2.0

This is a Hello World app using python3 and tensorflow for google app engine flexible environment

Run Locally

  1. Clone this repo.

    git clone https://github.com/armujahid/appengine-tensorflow-python3.git
    cd appengine-tensorflow-python3
    
  2. Create a virtualenv, install dependencies, and run the sample

    virtualenv env
    source envbinactivate
    pip install -r requirements.txt
    python main.py
    
  3. Visit the application at http://localhost:8080.

Deploying

  1. Use the Google Developers Console to create a projectapp id. (App id and project id are identical)

  2. Install the Google Cloud SDK, including the gcloud tool, and gcloud app component.

  3. Setup the gcloud tool. This provides authentication to Google Cloud APIs and services.

    gcloud init
    
  4. Use gcloud to deploy your app.

    gcloud app deploy --project <your-app-id>
    
  5. Congratulations! Your application is now live at your-app-id.appspot.com

Licensing

Licensed under the Apache License