Giter VIP home page Giter VIP logo

anbox-cloud.io's Introduction

Anbox Cloud Demo site

CircleCI build status Code coverage

Anbox Cloud is the mobile cloud computing platform for running Android at high scale in any cloud. It is portable across x86 and ARM architectures, with GPU and GPGPU support. Canonical will help you deploy your applications to accelerate your time-to-market. Anbox Cloud comes bundled with a long-term commercial support offering.

Architecture overview

This website is written with the help of the flask framework. In order to use functionality that multiply our websites here at Canonical, we import the base-flask-extension module.

Development

  • Run ./run inside the root of the repository and all dependencies will automatically be installed. Afterwards the website will be available at http://localhost:8043.
  • To access the Anbox streaming demo you will need an invitation code. You can access it here http://localhost:8043/login?next=/demo&invitation_code={invitation_code}
  • If you are part of the webteam, you can find an invitation code in lastPass in Anbox cloud demo

Deploy

You can find the deployment config in the deploy folder.

anbox-cloud.io's People

Contributors

aaryanporwal avatar aguadoenzo avatar akbarkz avatar albertkol avatar anthonydillon avatar bartaz avatar bethcollins92 avatar carkod avatar deadlight avatar dependabot[bot] avatar edlerd avatar goulinkh avatar jkfran avatar jpmartinspt avatar lorumic avatar meltysnow avatar minkyngkm avatar morphis avatar mtruj013 avatar nottrobin avatar pedoch avatar petesfrench avatar pmahnke avatar renovate-bot avatar renovate[bot] avatar ru-fu avatar sirsamtumless avatar sowasred2012 avatar sparkiegeek avatar steverydz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anbox-cloud.io's Issues

Add terms acceptance to login flow

one other point, how much work would it be to add an intermediate page in the login process where the user has to check mark terms of service and a privacy policy? Legal told us we need to have both

Login process can't deal with expired tokens

I've logged into staging.anbox-cloud.io yesterday with a valid invitation code but not able to login again today and only get

401: Unauthorised
authentication failed: invalid token.

when trying to access staging.anbox-cloud.io/demo.

As the login tokens given out by the demo service expire after 24 hours it looks like the UI doesn't call /1.0/login again to generate a new token.

Streaming API

  • Test endpoint
  • Implement views
  • Implement API calls
  • Integration (make sure works well with APIs)

Missing social meta data

The page should have metadata for social sharing with an image.

Look at canonical.com's base.html for an example. Or hard code it based on a page like canonical.com/careers/start or an ubuntu.com blog page

Ask Spencer for an image.

Multistage builds for anbox-cloud

  • Multistage builds to decrease image size, faster image building.
  • Update .dockerignore to ignore files uncessary in prod
  • Update image to Ubuntu Focal

Update page title to match h1

The current title is "Anbox Cloud" it would be better when searching if the title was "Anbox Cloud: Scalable Android in the cloud".

Disable streaming on unsupported browsers

A check was added to the stream SDK to prevent streaming on unsupported browsers.
We need to have a message telling users to use a supported browser when that occurs

the following error is thrown if a browser is unsupported
throw new Error("unsupported browser");

Setup scss

Scss seems to compile but it doesn't get applied to templates

Contact us form

Initial draft:

  • Post Contact form information
  • Create email and access code to allow for login into the demo

Remove scrollbar and tidy up markdown

Summary

Anbox-cloud requested to remove scroll bar on the left side navigation (change position to static and remove auto overflow)
Remove additional space in the navigation (Tidy up markdown on discourse)

anbox-cloud.io/login?invitation_code=xxx doesn't redirect to anbox-cloud.io/demo

When using anbox-cloud.io/login?invitation_code=xxx with a valid invitation code I never get redirected to anbox-cloud.io/demo but anbox-cloud.io. This is the current behavior on staging.anbox-cloud.io

After successful authentication and authorization anbox-cloud.io/login?invitation_code=xxx should redirect to the demo page at anbox-cloud.io/demo

Add new cookie form and update GTM

Move to new cookie policy

On the site

package.json
25: "@canonical/cookie-policy": "3.0.2",

templates/partial/_footer.html
18: Manage your tracker settings

static/js/base.js
1:import { cookiePolicy } from "@canonical/cookie-policy";
2:cookiePolicy();

static/sass/styles.scss
4:// import cookie policy
5:@import "@canonical/cookie-policy/build/css/cookie-policy";

GTM

  1. add variable - _cookies_accepted
  2. add trigger - All pages && cookie (all or functionality) - page view regex match (all|functionality)
  3. All pages && cookie (all or performance) - regex match (all|performance)
  4. add these to the triggers based on [this sheet](https://docs.google.com/spreadsheets/d/1PQEmbJPEG-76FLtLVOO271615V5aor66UhxfomZF-lo/edit#gid=0}

performance

  • ga
  • crazyegg
  • usabilla
  • vimeo
  • google optimise

functionality

  • linked in
  • livechat
  • facebook
  • twitter
  • bombora
  • google adwords
  • Marketo Munchkin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.