Skip to content

Commit

Permalink
Add www
Browse files Browse the repository at this point in the history
  • Loading branch information
blavka committed Sep 5, 2018
1 parent 8698654 commit 67b091a
Show file tree
Hide file tree
Showing 9 changed files with 2,754 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pi-gen-overlay/stage2/10-bigclown/02-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ npm install -g --unsafe-perm http-server
EOF

install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/var/www"
install -o 1000 -g 1000 -D files/www/*.* "$ROOTFS_DIR/var/www"
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/var/www/fonts"
install -o 1000 -g 1000 -D files/www/fonts/*.* "$ROOTFS_DIR/var/www/fonts"

install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/pi/.node-red"
install -v -o 1000 -g 1000 files/flows_hub.json "$ROOTFS_DIR/home/pi/.node-red/flows_hub.json"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
2,671 changes: 2,671 additions & 0 deletions pi-gen-overlay/stage2/10-bigclown/files/www/fonts/fontawesome-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
15 changes: 15 additions & 0 deletions pi-gen-overlay/stage2/10-bigclown/files/www/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Bigclown HUB</title>
</head>

<body>
<section id="index"></section>
<script type="text/javascript" src="main.js"></script></body>

</html>
65 changes: 65 additions & 0 deletions pi-gen-overlay/stage2/10-bigclown/files/www/main.js

Large diffs are not rendered by default.

0 comments on commit 67b091a

Please sign in to comment.