https://github.com/randy3k/shiny-appengine-demo
Running Shiny app on Google App Engine
https://github.com/randy3k/shiny-appengine-demo
Last synced: about 1 month ago
JSON representation
Running Shiny app on Google App Engine
- Host: GitHub
- URL: https://github.com/randy3k/shiny-appengine-demo
- Owner: randy3k
- Created: 2020-05-12T05:41:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-16T05:20:36.000Z (almost 5 years ago)
- Last Synced: 2025-01-17T16:53:55.312Z (3 months ago)
- Language: R
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - randy3k/shiny-appengine-demo - Running Shiny app on Google App Engine (R)
README
# Running Shiny app on Google App Engine
```
PROJECTID=$(gcloud config get-value project)
``````
docker build . -t gcr.io/$PROJECTID/shinyapp
```Test locally
```
docker run --rm -p 8080:8080 gcr.io/$PROJECTID/shinyapp:latest
```Push image to Google Registry
```
gcloud auth configure-docker
docker push gcr.io/$PROJECTID/shinyapp
```Alternatively, ultilize Googld Builds to build image
```
gcloud builds submit --tag gcr.io/$PROJECTID/shinyapp
```Deploy to Google Cloud Run
```
gcloud app deploy --image-url gcr.io/$PROJECTID/shinyapp
```