Skip to content

Commit 53a2c78

Browse files
committed
Include build in repo for CDN deployment
1 parent 4a1c11e commit 53a2c78

20 files changed

+226
-10
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
# testing
99
/coverage
1010

11-
# production
12-
/build
13-
1411
# misc
1512
.DS_Store
1613
.env.local

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ Some messages in the app can be customized if desired:
1212

1313
See the index.html file for examples of how to add the default widget floating in the bottom right of the page and as an "embedded" widget with the tool open on the page by default.
1414

15+
## Deployment
16+
You can install the app in a website:
17+
18+
```html
19+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/necyberteam/[email protected]/build/static/main.css">
20+
<div style="display:none;" id="qa-bot">
21+
&nbsp;
22+
</div>
23+
<script src="https://cdn.jsdelivr.net/gh/necyberteam/[email protected]/build/static/js/main.js"></script><script src="https://cdn.jsdelivr.net/gh/necyberteam/[email protected]/build/static/js/453.chunk.js"></script>
24+
```
25+
1526
## Available Scripts
1627

1728
In the project directory, you can run:

build/asset-manifest.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"files": {
3+
"main.css": "./static/css/main.css",
4+
"main.js": "./static/js/main.js",
5+
"static/js/453.chunk.js": "./static/js/453.chunk.js",
6+
"index.html": "./index.html",
7+
"main.css.map": "./static/css/main.css.map",
8+
"main.js.map": "./static/js/main.js.map",
9+
"453.chunk.js.map": "./static/js/453.chunk.js.map"
10+
},
11+
"entrypoints": [
12+
"static/css/main.css",
13+
"static/js/main.js"
14+
]
15+
}

build/favicon.ico

3.78 KB
Binary file not shown.

build/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>React App</title><script defer="defer" src="./static/js/main.js"></script><link href="./static/css/main.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

build/logo192.png

5.22 KB
Loading

build/logo512.png

9.44 KB
Loading

build/manifest.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"short_name": "React App",
3+
"name": "Create React App Sample",
4+
"icons": [
5+
{
6+
"src": "favicon.ico",
7+
"sizes": "64x64 32x32 24x24 16x16",
8+
"type": "image/x-icon"
9+
},
10+
{
11+
"src": "logo192.png",
12+
"type": "image/png",
13+
"sizes": "192x192"
14+
},
15+
{
16+
"src": "logo512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
19+
}
20+
],
21+
"start_url": ".",
22+
"display": "standalone",
23+
"theme_color": "#000000",
24+
"background_color": "#ffffff"
25+
}

build/robots.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# https://www.robotstxt.org/robotstxt.html
2+
User-agent: *
3+
Disallow:

build/static/css/main.css

Lines changed: 2 additions & 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)