ECM, AKA *”Electronic Claims Manager”*, is an Information Technology System that allows its users to manage claims. Most of the users are not developers, nor database administrators, or even users. In fact, Excel and Outlook are the primary two applications used.
That means a User Interface is needed. This is it.
The gui itself, outside the monorepo, is in github
guix install git gcc-toolchain gerbil-unstable \
linux-libre-headers pkg-config opensl
git clone git@github.com:drewc/ecm-gui.git
export CPATH=$CPATH:~/.guix-profile/include/
export LIBRARY_PATH=$LIBRARY_PATH:~/.guix-profile/lib
gxpkg install github.com/fare/gerbil-utils
gxpkg install github.com/drewc/ftw
gxpkg install github.com/drewc/gerbil-postgresql
cd /tmp/
dd if=/dev/zero of=swap.img bs=1M count=40960
mkswap swap.img
chmod 0600 swap.img
sudo chown root:root swap.img
sudo swapon swap.img
cd -
cd ecm-gui; ./build.ss
git subtree push --prefix=gui ./ gui
git push gui gui:main
“We recommend starting new projects with Vite as it offers significantly better development experience in terms of dev server startup and HMR update performance ” – https://v3.vuejs.org/api/sfc-tooling.html#vite
Vite
pnpm create vite ecm-gui -- --template vue
rsync -ac ecm-gui/ gui/
rm -r ecm-gui
cd gui
export PATH=$PATH:$(~/bin/npm bin -g)
~/bin/pnpm install
~/bin/pnpm add -D autoprefixer postcss
~/bin/pnpm run dev
(setq js-indent-level 2)