Sign inSign up

jkingyens/aiaexperiments-server

By jkingyens

Updated over 8 years ago

build & publish the web service for aiaexperiments

Image
0

1.3K

jkingyens/aiaexperiments-server repository overview

AIAExperiments

stack for testing mobile dev ops (build, test, ship, revenue, etc)

There are a few components that need to be spun up independently to make this stack work:

asset-links/ contains the service that hosts https://substrait.com/.well-known/assetlinks.json

push

push/ contains the code for the job that publishes the APK to the play store when commit is pushed/published

server

server/ contains the apps backend API. This interfaces with cloud pub/sub via push subscriptions and the android client also makes calls to methods in this service.

android app

The rest of the files and project contained in the root is the android app project. It includes an installed app and an instant app.

Configuration

The biggest change needed to configure this project for deployment are hosting this on a new domain and publishing the app to a new bundle id / app namespace. Basically we need to replace all https://substrait.com/aiaexperiments with https://yourendpoint.com and all com.substrait.aiaexperiments with your own bundle identifier.

  • purchase a domain
  • generate ssl certificates for this domain
  • setup ssl termination on a load balancer and configure the certs (I use https://traefik.io/ as a load balancer)
  • host asset links service at /.well-known/assetlinks.json
  • fork this github repo
  • setup github to push event when master branch is published
  • setup google play developer account and furnish JSON credential file.
  • setup push service with google play crenential file to publish APK on master push
  • add a test user email to the play developer console
  • download your app via play store on test device, with test user

... this should be enough to get started.

Tag summary

Content type

Image

Digest

Size

288.9 MB

Last updated

over 8 years ago

docker pull jkingyens/aiaexperiments-server