moving deployment to firebase
Esse commit está contido em:
@@ -0,0 +1,15 @@
|
||||
asset-manifest.json,1575494897334,e35cac11f20e7a3047e666a6de1a32b68db32ef602611d1b32c5d8eb01e34e04
|
||||
favicon.ico,1575494890436,b72f7455f00e4e58792d2bca892abb068e2213838c0316d6b7a0d6d16acd1955
|
||||
index-old.html,1575494890437,2f05429424770dbb1b31b3edd061a744cc717dad3b3b1277517b1c4716742416
|
||||
index.html,1575494897334,2b0f6fb753fdbbe6515dfe3f6681b61900851f3ce442b18bd261a51c7c99f268
|
||||
manifest.json,1575494890437,ff0806acfb854b6b53c7a84af86241b08d8c8abb94395c9c7609ba18940b76a0
|
||||
precache-manifest.d66eef8d7ecb1503c929ba67bac692b9.js,1575494897334,24f6e305ebe652e6e280027894cb1aab381373ce93471fda077422d9511d26f5
|
||||
service-worker.js,1575494897334,a7a5ee9ff716d8efe8c22337195928fed97b9ea68520bd761b8c301d6d26a33c
|
||||
static/css/main.c4a48dba.chunk.css,1575494897337,3237c2031b85b42b522f9e7a8d4d3c831aa162959e17b563a68f6314c4842515
|
||||
static/css/main.c4a48dba.chunk.css.map,1575494897360,fb3bc825de8e19e2f06f63530b84918a896e0f63da7166fefe6b0ad78b63175a
|
||||
static/js/2.4e8b9e75.chunk.js,1575494897361,f4b3f466d2df4f4681bd45b976b74babba27834f7c315420d72ceb9fe36d0c3c
|
||||
static/js/2.4e8b9e75.chunk.js.map,1575494897362,4c4cc976391acadbf70bcf6b85721c2113d12d6decbe1f7d5d4e576c5674167e
|
||||
static/js/main.6ef619f7.chunk.js,1575494897337,d547472bc862af2f8321534ab875ea6705037405defa6aedc83756e7101725c9
|
||||
static/js/main.6ef619f7.chunk.js.map,1575494897361,733a367005ad6f2fdfce55537be0ead85b53c04997917bb61bedd356a6dc31eb
|
||||
static/js/runtime-main.f1ead1bc.js,1575494897360,523f639f39c98ce844de4b0c7d2d803e1f1ca91a7be8476a0c58832b05b28f28
|
||||
static/js/runtime-main.f1ead1bc.js.map,1575494897361,689f8557c6fd44623ab95afe81e4ce9b2fc4b3cada125644333a5d21e9a90312
|
||||
@@ -0,0 +1,4 @@
|
||||
favicon.ico,1575315498808,b72f7455f00e4e58792d2bca892abb068e2213838c0316d6b7a0d6d16acd1955
|
||||
index-old.html,1575493702708,2f05429424770dbb1b31b3edd061a744cc717dad3b3b1277517b1c4716742416
|
||||
manifest.json,1575477869132,ff0806acfb854b6b53c7a84af86241b08d8c8abb94395c9c7609ba18940b76a0
|
||||
index.html,1575493824177,b9b8d9c6d21e5c0d385e1e8e61c547cc25ab4aea7200688f7be053487a139665
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"projects": {
|
||||
"default": "eegedu"
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
steps:
|
||||
- name: gcr.io/cloud-builders/npm
|
||||
args: [ install ]
|
||||
- name: gcr.io/cloud-builders/npm
|
||||
args: [ run, build, --prod ]
|
||||
- name: 'gcr.io/cloud-builders/gcloud'
|
||||
args: ['app', 'deploy']
|
||||
timeout: 600s
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"hosting": {
|
||||
"public": "build",
|
||||
"ignore": [
|
||||
"firebase.json",
|
||||
"**/.*",
|
||||
"**/node_modules/**"
|
||||
],
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "**",
|
||||
"destination": "/index.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
gerado
-11455
Diferenças do arquivo suprimidas por serem muito extensas
Carregar Diff
+15
-2
@@ -9,17 +9,30 @@
|
||||
"dependencies": {
|
||||
"@neurosity/pipes": "^3.0.2",
|
||||
"chart.js": "^2.7.2",
|
||||
"firebase": "^7.5.0",
|
||||
"muse-js": "^3.0.1",
|
||||
"prettier": "^1.19.1",
|
||||
"react": "^16.4.1",
|
||||
"react": "^16.12.0",
|
||||
"react-chartjs-2": "^2.7.2",
|
||||
"react-dom": "^16.4.1",
|
||||
"react-scripts": "1.1.4"
|
||||
"react-scripts": "^3.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test --env=jsdom",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.2%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="theme-color" content="#000000">
|
||||
<!--
|
||||
manifest.json provides metadata used when your web app is added to the
|
||||
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
|
||||
-->
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
|
||||
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
|
||||
<!--
|
||||
Notice the use of %PUBLIC_URL% in the tags above.
|
||||
It will be replaced with the URL of the `public` folder during the build.
|
||||
Only files inside the `public` folder can be referenced from the HTML.
|
||||
|
||||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
||||
work correctly both with client-side routing and a non-root public URL.
|
||||
Learn how to configure a non-root public URL by running `npm run build`.
|
||||
-->
|
||||
<title>React App</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
You need to enable JavaScript to run this app.
|
||||
</noscript>
|
||||
<div id="root"></div>
|
||||
<!--
|
||||
This HTML file is a template.
|
||||
If you open it directly in the browser, you will see an empty page.
|
||||
|
||||
You can add webfonts, meta tags, or analytics to this file.
|
||||
The build step will place the bundled scripts into the <body> tag.
|
||||
|
||||
To begin the development, run `npm start` or `yarn start`.
|
||||
To create a production bundle, use `npm run build` or `yarn build`.
|
||||
-->
|
||||
</body>
|
||||
</html>
|
||||
+53
-29
@@ -1,40 +1,64 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="theme-color" content="#000000">
|
||||
<!--
|
||||
manifest.json provides metadata used when your web app is added to the
|
||||
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
|
||||
-->
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
|
||||
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
|
||||
<!--
|
||||
Notice the use of %PUBLIC_URL% in the tags above.
|
||||
It will be replaced with the URL of the `public` folder during the build.
|
||||
Only files inside the `public` folder can be referenced from the HTML.
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>EEGEdu</title>
|
||||
|
||||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
||||
work correctly both with client-side routing and a non-root public URL.
|
||||
Learn how to configure a non-root public URL by running `npm run build`.
|
||||
-->
|
||||
<title>React App</title>
|
||||
<style media="screen">
|
||||
body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
|
||||
#message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px; border-radius: 3px; }
|
||||
#message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
|
||||
#message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
|
||||
#message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
|
||||
#message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
|
||||
#message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
|
||||
#load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
|
||||
@media (max-width: 600px) {
|
||||
body, #message { margin-top: 0; background: white; box-shadow: none; }
|
||||
body { border-top: 16px solid #ffa100; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
You need to enable JavaScript to run this app.
|
||||
</noscript>
|
||||
<p id="load">Firebase SDK Loading…</p>
|
||||
<div id="root"></div>
|
||||
<!--
|
||||
This HTML file is a template.
|
||||
If you open it directly in the browser, you will see an empty page.
|
||||
|
||||
You can add webfonts, meta tags, or analytics to this file.
|
||||
The build step will place the bundled scripts into the <body> tag.
|
||||
<!-- The core Firebase JS SDK is always required and must be listed first -->
|
||||
<script src="https://www.gstatic.com/firebasejs/7.5.0/firebase-app.js"></script>
|
||||
|
||||
To begin the development, run `npm start` or `yarn start`.
|
||||
To create a production bundle, use `npm run build` or `yarn build`.
|
||||
-->
|
||||
<!-- TODO: Add SDKs for Firebase products that you want to use
|
||||
https://firebase.google.com/docs/web/setup#available-libraries -->
|
||||
<script src="https://www.gstatic.com/firebasejs/7.5.0/firebase-analytics.js"></script>
|
||||
|
||||
<script>
|
||||
// Your web app's Firebase configuration
|
||||
var firebaseConfig = {
|
||||
apiKey: "AIzaSyDOxvc3ajTHyZLXcVPkqb7Nbeo3Tn8eFCs",
|
||||
authDomain: "eegedu.firebaseapp.com",
|
||||
databaseURL: "https://eegedu.firebaseio.com",
|
||||
projectId: "eegedu",
|
||||
storageBucket: "eegedu.appspot.com",
|
||||
messagingSenderId: "987114688746",
|
||||
appId: "1:987114688746:web:b13b68f24897ca97440793",
|
||||
measurementId: "G-2HB7VKGKV9"
|
||||
};
|
||||
// Initialize Firebase
|
||||
firebase.initializeApp(firebaseConfig);
|
||||
firebase.analytics();
|
||||
</script>
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
try {
|
||||
let app = firebase.app();
|
||||
let features = ['auth', 'database', 'messaging', 'storage'].filter(feature => typeof app[feature] === 'function');
|
||||
document.getElementById('load').innerHTML = `Firebase SDK loaded!`;
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
document.getElementById('load').innerHTML = 'Error loading the Firebase SDK, check the console.';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+10921
Diferenças do arquivo suprimidas por serem muito extensas
Carregar Diff
Referência em uma Nova Issue
Bloquear um usuário