-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
115 lines (83 loc) · 5.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>provr-website documentation</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="./images/favicon.ico">
<link rel="stylesheet" href="./styles/style.css">
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top visible-xs">
<a href="./" class="navbar-brand">provr-website documentation</a>
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
</div>
<div class="xs-menu menu" id="mobile-menu">
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
</div>
<div class="container-fluid main">
<div class="row main">
<div class="hidden-xs menu">
<compodoc-menu mode="normal"></compodoc-menu>
</div>
<!-- START CONTENT -->
<div class="content getting-started">
<div class="content-data">
<h1 id="provrwebsite">ProvrWebsite</h1>
<p><a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT" class="img-responsive"></a>
<a href="https://GitHub.com/Naereen/StrapDown.js/issues/"><img src="https://img.shields.io/github/issues/ProVR-Norway/ProvrWebsite.svg" alt="GitHub issues" class="img-responsive"></a>
<a href="https://GitHub.com/Naereen/StrapDown.js/stargazers/"><img src="https://img.shields.io/github/stars/ProVR-Norway/ProvrWebsite.svg?style=social&label=Star&maxAge=2592000" alt="GitHub stars" class="img-responsive"></a></p>
<h2 id="❗️-notice">❗️ Notice</h2>
<p>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.</p>
<h2 id="🚀-deployment">🚀 Deployment</h2>
<p>This Angular webiste is deployed to App Engine and is available here 👉 <a href="https://vr-collaboration-room.ey.r.appspot.com">ProVR Website</a></p>
<p>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 <code>app.yaml</code> and <code>cloudbuild.yaml</code> files are used to configure this deployment.</p>
<h2 id="🚨-cors-policy">🚨 CORS policy</h2>
<p>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 <code>user-cad-models</code> in Google Cloud Storage. This is the tutorial we used 👉 <a href="https://cloud.google.com/storage/docs/configuring-cors">CORS Config GCS</a>. </p>
<blockquote>
<p>The JSON file used to configure the CORS policy is found in this repository under the name <code>cors-config.json</code>.</p>
</blockquote>
</div><div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
<!-- END CONTENT -->
</div>
</div>
<script>
var COMPODOC_CURRENT_PAGE_DEPTH = 0;
var COMPODOC_CURRENT_PAGE_CONTEXT = 'getting-started';
var COMPODOC_CURRENT_PAGE_URL = 'index.html';
var MAX_SEARCH_RESULTS = 15;
</script>
<script src="./js/libs/custom-elements.min.js"></script>
<script src="./js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="./js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
<script src="./js/menu-wc.js" defer></script>
<script src="./js/libs/bootstrap-native.js"></script>
<script src="./js/libs/es6-shim.min.js"></script>
<script src="./js/libs/EventDispatcher.js"></script>
<script src="./js/libs/promise.min.js"></script>
<script src="./js/libs/zepto.min.js"></script>
<script src="./js/compodoc.js"></script>
<script src="./js/tabs.js"></script>
<script src="./js/menu.js"></script>
<script src="./js/libs/clipboard.min.js"></script>
<script src="./js/libs/prism.js"></script>
<script src="./js/sourceCode.js"></script>
<script src="./js/search/search.js"></script>
<script src="./js/search/lunr.min.js"></script>
<script src="./js/search/search-lunr.js"></script>
<script src="./js/search/search_index.js"></script>
<script src="./js/lazy-load-graphs.js"></script>
</body>
</html>