/web-algodynamic

algodynamic website

Primary LanguageHTMLApache License 2.0Apache-2.0

Algodynamic Website

Source for my website at https://www.algodynamic.co.uk

Status

Generate and Deploy

Prerequisites

Create a Python virtual environment in the root folder

$ python -m venv .venv
pip install -r requirements.txt --upgrade
pip install ./wasm_demo

Install the markdown extensions

$ cd extensions
$ pip install .

Install Emscripten to build the WASM Demos

For the C++ Dependencies

mkdir -p demos/build
cd demos/build
conan install .. --build outdated

Build WASM Demos

mkdir demos/build
cd demos/build
cmake .. -DCMAKE_TOOLCHAIN_FILE=<EMSCRIPTEN>/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake \
         -DCMAKE_INSTALL_PREFIX=../../web/content
cmake --build . 
cmake --build . --target install

Build

cd web
invoke build

Local testing

cd web
invoke livereload

Publish

cd web
invoke publish

Publishing happens automatically on pushes to the master branch. This requires AWS S3 credentials to be correctly configured. See