Code Monkey home page Code Monkey logo

provrwebsite's Introduction

ProvrWebsite

License: MIT GitHub issues GitHub stars

Angular web application for uploading CAD models to be used in the ProVR application.

๐Ÿง‘โ€๐Ÿ’ป Usage

๐Ÿ›ซ Running the web application locally

ng serve

๐Ÿค– Running the protractor test cases

ng e2e

โ—๏ธ Notice

In local development the application must listen on port 4200. If not, the CORS policy on Google Cloud Storage for the bucket used must be updated. Make changes to the cors-config.json and type this command in the terminal gsutil cors set cors-config.json gs://BUCKET_NAME to update the policy.

๐Ÿš€ Deployment

This Angular webiste is deployed to App Engine and is available here ๐Ÿ‘‰ ProVR Website

It is automatically deployed each time a push is made to the master branch. We use Google Cloud Build to make this possible, which is a CI/CD service on GCP. The app.yaml and cloudbuild.yaml files are used to configure this deployment.

๐Ÿšจ CORS policy

When browsers comminicate with external servers they send a CORS preflight request in advance of the actual POST, GET or DELETE, etc. request. This policy needs to be configured explicitly on the bucket user-cad-models in Google Cloud Storage. This is the tutorial we used ๐Ÿ‘‰ CORS Config GCS.

The JSON file used to configure the CORS policy is found in this repository under the name cors-config.json.

๐Ÿ“š Documentation

The complete documentation of the website can be found here ๐Ÿ‘‰ https://provr-norway.github.io

provrwebsite's People

Contributors

olehjelle avatar oysteinlondal avatar

Watchers

 avatar  avatar

Forkers

olehjelle

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.