Skip to content

Commit

Permalink
for github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
WadeTsai committed Oct 21, 2020
1 parent 7a3864f commit 57669bc
Show file tree
Hide file tree
Showing 13 changed files with 174 additions and 11 deletions.
166 changes: 166 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "junyi-dashboard",
"version": "0.1.0",
"homepage": "https://junyiacademy.github.io/dashboard",
"private": true,
"dependencies": {
"@material-ui/core": "^4.11.0",
Expand All @@ -16,6 +17,8 @@
},
"proxy": "https://storageaccountazure88f7.blob.core.windows.net",
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
Expand All @@ -35,5 +38,8 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"gh-pages": "^3.1.0"
}
}
3 changes: 2 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import Typography from '@material-ui/core/Typography';
import MapChart from "./MapChart";
import ReactTooltip from "react-tooltip";

const AzureBlobURL = '/dashboard-json/';
// const AzureBlobURL = '/dashboard-json/';
const AzureBlobURL = 'https://storageaccountazure88f7.blob.core.windows.net/dashboard-json/';
const RADIAN = Math.PI / 180;

const useStyles = makeStyles((theme) => ({
Expand Down
1 change: 0 additions & 1 deletion src/JSON/WAU_week_by_week.json

This file was deleted.

1 change: 0 additions & 1 deletion src/JSON/content_type.json

This file was deleted.

1 change: 0 additions & 1 deletion src/JSON/content_usage_by_month.json

This file was deleted.

1 change: 0 additions & 1 deletion src/JSON/counties.json

This file was deleted.

1 change: 0 additions & 1 deletion src/JSON/last_week_WAU_by_city.json

This file was deleted.

1 change: 0 additions & 1 deletion src/JSON/last_week_WAU_by_hour.json

This file was deleted.

Loading

0 comments on commit 57669bc

Please sign in to comment.