https://github.com/workmanw/yapa
https://github.com/workmanw/yapa
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/workmanw/yapa
- Owner: workmanw
- Created: 2017-09-16T15:43:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-21T16:04:47.000Z (over 8 years ago)
- Last Synced: 2025-02-16T20:27:43.231Z (over 1 year ago)
- Language: Java
- Size: 30.7 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
YAPA (Yet Another Photo App)
============================
## Required Tools
* `gcloud` - https://cloud.google.com/sdk/gcloud/
* `node` and `npm` - https://nodejs.org/en/
* `ember` - `npm install -g ember-cli`
* `yarn` - `npm install -g yarn`
## Setup
### Create Google Cloud Project
`gcloud init`
*Note: When initializing your project, you will provide a project ID. Remember that.*
### Enable App Engine
`gcloud app create`
### Enable the Datastore API
https://console.cloud.google.com/datastore/entities/query
`gcloud services enable datastore.googleapis.com`
### Create Cloud Storage bucket
First, enable billing: https://support.google.com/cloud/answer/6293499#enable-billing
`gsutil mb gs://yapa-devfest-assets`
*Note: Your GCS bucket will need a different name than `yapa-devfest-assets`. It doesn't matter what it is, it just needs to be unique.*
Update `src/main/java/io/workmanw/yapa/Constants.java` with your bucket name.
### Turn on Analysis APIs
https://cloud.google.com/vision/docs/before-you-begin
`gcloud services enable vision.googleapis.com`
`gcloud services enable speech.googleapis.com`
`gcloud services enable videointelligence.googleapis.com`
`gcloud services enable language.googleapis.com`
## Deploying
### Full build and deploy
`./buildDeploy.sh`
## Optional Maven Utils
### Deploy Indexes
`mvn appengine:deployIndex`
### Deploy Task Queue
`mvn appengine:deployQueue`
### Deploy App Engine
`mvn appengine:deploy`
## Questions / Help
Open an issue!