Skip to content

Commit 222dcfc

Browse files
committed
Deploy ciatph/ciatph.github.io to github.com/ciatph/ciatph.github.io.git:master
1 parent d30f35b commit 222dcfc

15 files changed

Lines changed: 361 additions & 29 deletions

README.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Contains updated content with new AMIA Phase 2 information and documents.
1313

1414
The following requirements and dependencies were used for this project. Other system and software configurations are open for testing.
1515

16-
1. Windows 10 Pro
17-
2. NodeJS
18-
- npm version 10.16.3
16+
1. Windows 10 Pro
17+
2. NodeJS
18+
- npm version 10.16.3
1919
- npm version 6.9.0
2020

2121
## Build Setup
@@ -101,16 +101,13 @@ Please take note, the steps mentioned in **_Automatic CI/CD to GitHub Pages Usi
101101

102102
For testing purposes, the static build files can be optionally uploaded to Firebase hosting prior to deploying on GitHub pages.
103103

104-
1. Login to the firebase cli as `ciat.ph06`.
105-
106-
2. Run `firebase init`.
107-
- *Are you ready to proceed?* - choose **Y**
108-
- *Which Firebase CLI features do you want to set up for this folder?* - choose **_Hosting_**.
109-
- *What do you want to use as your public directory?* - type **/dist**
110-
- *Configure as a single-page app (rewrite all urls to /index.html)?* - choose **Y**
111-
- *File dist/index.html already exists. Overwrite?* - choose **N**
104+
Firebase CLI is required.
112105

113-
3. Run `firebase deploy`
106+
1. Login to the firebase cli as `ciat.ph06`.
107+
2. Build the website.
108+
`npm run build`
109+
3. Deploy to firebase (https://ciatphdemo.firebaseapp.com/).
110+
`firebase deploy`
114111

115112

116113
**Updated:** 20191113

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>AMIA-CIAT Demo</title><link rel="shortcut icon" type=image/x-icon href=./static/ciat-icon-48.ico><script src=https://cdn.jsdelivr.net/npm/promise-polyfill@8/dist/polyfill.min.js></script><script src=https://code.jquery.com/jquery-3.4.1.min.js></script><script src=https://api.tiles.mapbox.com/mapbox-gl-js/v0.39.1/mapbox-gl.js></script><link href=https://api.tiles.mapbox.com/mapbox-gl-js/v0.39.1/mapbox-gl.css rel=stylesheet><script src=./static/app.js type=text/javascript></script><link href="https://fonts.googleapis.com/css?family=Montserrat" rel=stylesheet type=text/css><link href="https://fonts.googleapis.com/css?family=Lato" rel=stylesheet type=text/css><link href=/static/css/main.f800067be744532e09caa2d379fd51d3.css rel=stylesheet></head><body><div id=app></div><script>(function() {
1+
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>AMIA-CIAT Demo</title><link rel="shortcut icon" type=image/x-icon href=./static/ciat-icon-48.ico><script src=https://cdn.jsdelivr.net/npm/promise-polyfill@8/dist/polyfill.min.js></script><script src=https://code.jquery.com/jquery-3.4.1.min.js></script><script src=https://api.mapbox.com/mapbox-gl-js/v2.0.1/mapbox-gl.js></script><link href=https://api.mapbox.com/mapbox-gl-js/v2.0.1/mapbox-gl.css rel=stylesheet><script src=./static/app.js type=text/javascript></script><script src=./static/map.js type=text/javascript></script><link href="https://fonts.googleapis.com/css?family=Montserrat" rel=stylesheet type=text/css><link href="https://fonts.googleapis.com/css?family=Lato" rel=stylesheet type=text/css><link href=/static/css/main.d7ff0a0be1e3529cf9ca9ce0582c7177.css rel=stylesheet></head><body><div id=app></div><script>(function() {
22
window.MB = new mapboxInstance()
3-
})();</script><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.4b543fc80362c36316d8.js></script><script type=text/javascript src=/static/js/main.3447eb154cba9102f755.js></script></body></html>
3+
window.MBL = new MapboxMap('pk.eyJ1IjoiY2lhdHBoIiwiYSI6ImNqNXcyeTNhcTA5MzEycHFpdG90enFxMG8ifQ.gwZ6uo6pvx4-RZ1lHODcBQ')
4+
})();</script><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.54ff1daed83d87455759.js></script><script type=text/javascript src=/static/js/main.709e213e90a3b5e54aea.js></script></body></html>

static/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ var colorLayersRandom = function(propertyFilter){
123123

124124
if(provinces.indexOf(joined) == -1){
125125
provinces.push(joined);
126-
map.addLayer(createColoredLayer("amia-" + joined, propertyFilter, hexToRgbA(colorsNameMap[joined], 1.0)), 1.0);
126+
map.addLayer(createColoredLayer("amia-" + joined, propertyFilter, hexToRgbA(colorsNameMap[joined], 1.0)));
127127
map.setFilter("amia-" + joined, ["==", propertyFilter, joined]);
128128
}
129129
}

static/css/main.f800067be744532e09caa2d379fd51d3.css renamed to static/css/main.d7ff0a0be1e3529cf9ca9ce0582c7177.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/css/main.d7ff0a0be1e3529cf9ca9ce0582c7177.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/css/main.f800067be744532e09caa2d379fd51d3.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

static/js/main.3447eb154cba9102f755.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

static/js/main.3447eb154cba9102f755.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

static/js/main.709e213e90a3b5e54aea.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/js/main.709e213e90a3b5e54aea.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)