Add auto deployment infrastructure for website

This commit is contained in:
Keavon Chambers
2023-08-16 00:35:06 -07:00
parent 0a7a69b315
commit a871ea6d69
9 changed files with 247 additions and 136 deletions

View File

@@ -77,6 +77,6 @@ Graphene should recognize when a certain intermediate result already lives in RA
# Conclusion
Presently, we are [experimenting](https://github.com/GraphiteEditor/NodeGraphExperiments) with CPU and GPU node composition for the beginnings of the Graphene visual programming language. Most of what was described in this post will likely evolve as we get further into the implementation stage and when we learn more from experts in the fields of computer science that Graphene overlaps with.
Presently, we are experimenting with CPU and GPU node composition for the beginnings of the Graphene visual programming language. Most of what was described in this post will likely evolve as we get further into the implementation stage and when we learn more from experts in the fields of computer science that Graphene overlaps with.
If you have a background or interest in programming language design, functional programming, ECS and data-oriented design, scheduling, distributed computing, general-purpose GPU compute (GPGPU), or high-performance computing (HPC), we'd love to have your ideas steer our work. Or better yet, join the team to make this dream a reality. We discuss most of our architecture and designs on our [Discord server](https://discord.graphite.rs) through text and sometimes voice. Please come say hi!

View File

@@ -18,7 +18,7 @@ module.exports = {
},
output: {
path: path.resolve(__dirname, "public/build"),
publicPath: "/build/",
publicPath: "./build/",
filename: "[name].js"
},
module: {

View File

@@ -1,21 +1,27 @@
#!/bin/sh
echo 🔧 Install Rust
echo 📁 Create output directory in 'website/other/dist'
cd website/other
mkdir dist
echo 🔧 Install the latest Rust
curl https://sh.rustup.rs -sSf | sh -s -- -y
export PATH=$PATH:/opt/buildhome/.cargo/bin
rustup update stable
echo rustc version:
rustc --version
echo 🚧 Install Node dependencies
echo 🚧 Print installed node and npm versions
echo node version:
node --version
echo npm version:
npm --version
echo 👷 Build Bezier-rs demos to 'website/other/dist/libraries/bezier-rs'
mkdir dist/libraries
mkdir dist/libraries/bezier-rs
cd bezier-rs-demos
npm ci
echo 👷 Build Bezier-rs Demos
export NODE_ENV=production
npm run build-prod-unix
mkdir ../../public/libraries
mv public ../../public/libraries/bezier-rs
NODE_ENV=production npm run build-prod-unix
mv public/* ../dist/libraries/bezier-rs
cd ..

View File

@@ -27,7 +27,7 @@
{% endif %}
<script src="/js/text-justification.js"></script>
<script src="/js/navbar.js"></script>
<script defer data-domain="graphite.rs" data-api="/visit/event" src="/visit/script.outbound-links.file-downloads.js"></script>
<!-- INDEX_HTML_HEAD_REPLACEMENT -->
<style>
.balance-text {
visibility: hidden;