-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1148 from explorable-viz/website-update
More website deployment infrastructure
- Loading branch information
Showing
30 changed files
with
167 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
set -xe | ||
|
||
yarn build | ||
yarn bundle-standalone-all | ||
yarn test-all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
#!/usr/bin/env bash | ||
set -xe | ||
|
||
WEBSITE=website | ||
|
||
rm -rf dist/ | ||
./script/compile.sh | ||
./script/bundle-website.sh | ||
./script/bundle.sh test Test.Test | ||
./script/util/copy-static.sh $WEBSITE | ||
cp -r web/pdf dist/$WEBSITE | ||
|
||
# Don't include standalone examples yet as they take a long time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
# run from project root | ||
set -xe | ||
|
||
WEBSITE=bench | ||
|
||
. script/clean.sh $WEBSITE | ||
./script/bundle.sh $WEBSITE Test.Benchmark | ||
cp web/bench.html dist/$WEBSITE/index.html | ||
./script/util/copy-static.sh $WEBSITE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
#!/usr/bin/env bash | ||
set -xe | ||
|
||
./script/bundle.sh / Standalone.Website | ||
WEBSITE=website | ||
|
||
# TODO: run build-standalone.sh for each separate page that features on the website | ||
./script/bundle.sh $WEBSITE Standalone.Website | ||
|
||
unzip archive/0.3.1.zip -d dist # already has 0.3.1 as top-level folder | ||
unzip archive/0.6.1.zip -d dist/0.6.1 | ||
unzip archive/0.3.1.zip -d dist/$WEBSITE # already has 0.3.1 as top-level folder | ||
unzip archive/0.6.1.zip -d dist/$WEBSITE/0.6.1 | ||
|
||
# until we have a more uniform structure: | ||
cp src/Standalone/Website.html dist/$WEBSITE/index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
set -xe | ||
|
||
. script/test.sh | ||
. script/test-standalone-all.sh | ||
. script/test-standalone-all.sh website |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
#!/usr/bin/env bash | ||
set -xe | ||
|
||
rm -rf dist/$1/fluid | ||
rm -rf dist/$1/css | ||
rm -rf dist/$1/pdf | ||
cp -r fluid dist/$1 | ||
cp web/index.html dist/$1 | ||
cp -r web/css dist/$1 | ||
cp -r web/pdf dist/$1 | ||
WEBSITE=$1 | ||
|
||
cp -r fluid dist/$WEBSITE | ||
cp -r web/css dist/$WEBSITE | ||
cp web/favicon.ico dist/$WEBSITE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="icon" href="/favicon.ico" type="image/x-icon"> | ||
<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>Fluid: Data-Linked Visualisations</title> | ||
<link href="css/styles.css" rel="stylesheet" type="text/css"> | ||
<link href="css/view-styles.css" rel="stylesheet" type="text/css"> | ||
<script src="https://use.fontawesome.com/1091715d00.js"></script> | ||
<script src="fluid.js"></script> | ||
<script> | ||
// move to PureScript | ||
function toggle(id) { | ||
const elem = document.getElementById(id) | ||
if (elem.style.visibility == 'hidden') | ||
elem.style.visibility = 'visible' | ||
else | ||
elem.style.visibility = 'hidden' | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
|
||
<div class="grid-container"> | ||
<div></div> | ||
<div class="flex-right-align"> | ||
<img src="https://i.ibb.co/bFjzrXR/Untitled.jpg" width="250px"> | ||
<img src="https://i.ibb.co/zNqHKg7/University-of-Bristol-logo.png" width="250px"> | ||
<img src="https://dorchard.github.io/images/iccs-full-logo.png" alt="ICCS logo" width="250px"> | ||
</div> | ||
<div></div> | ||
<div class="flex-left-align"> | ||
<nav> | ||
<ul> | ||
<li><a href="." class="active-page">Latest</a></li> | ||
<li><a href="https://f.luid.org/0.3.1">v0.3.1</a></li> | ||
</ul> | ||
</nav> | ||
<div> | ||
<a href="https://github.com/explorable-viz/fluid">GitHub</a> · | ||
<a href="https://dl.acm.org/doi/10.1145/3498668">POPL 2022 paper</a> · | ||
<a href="https://www.youtube.com/watch?v=M_ePrtD9axk">POPL 2022 talk</a> · | ||
<a href="https://www.youtube.com/watch?v=2-S6yVyzypU">PROPL 2024 talk</a> | ||
</div> | ||
<h2>Fluid: data-linked visualisations</h2> | ||
</div> | ||
|
||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div class="flex-left-align"> | ||
<h3 class="title lowercase">example 1</h3> | ||
<p>Renewables example for related inputs:</p> | ||
</div> | ||
|
||
<div></div> | ||
<div id="fig-4-input" class="flex-right-align data-pane"></div> | ||
<div> | ||
<div onclick="toggle('fig-4-input')"><span class="data-pane-button toggle-button">◀▶</span></div> | ||
</div> | ||
<div class="flex-left-align"> | ||
<div id="fig-4"></div> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
// move to PureScript | ||
toggle('fig-4-input') | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="icon" href="/favicon.ico" type="image/x-icon"> | ||
<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>Fluid benchmarks</title> | ||
<script src="fluid.js"></script> | ||
</head> | ||
<body> | ||
<h1>Fluid benchmarks</h1> | ||
</body> | ||
</html> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.