My personal website, which I use as a playground for my own learnings and experiments.
- Install Rust (recommended through rustup)
- Install wasm-pack
- Install Node (recommended through NVM)
- Install Yarn ->
npm i yarn -g
- Clone this repo ->
git clone [email protected]:HHogg/hogg.io.git
- Enter directory ->
cd hogg.io
- Install node dependencies ->
yarn
- Install rust dependencies ->
cargo fetch
- Install Postgres - This is used for the Euclidean tiling search tool. If you don't run it, you wont need Postgres.
yarn dev
This will concurrently run a few development processes for watching for main website resources and dependencies. There are a couple of Wasm packages that are built from rust and are also watched and built when the files change.
yarn build && yarn deploy
This will create a SSG build of the website and production builds of the Wasm packages, and will deploy it (Note: This will obviously not deploy to my site if you don't have the auth token).