1.0 KiB
1.0 KiB
fewd = front end web dev
this is me (PRH) trying to learn some front end web dev because pixels are important despite my wishes.
Building/Running
Prereqs
-
DEV ONLY:
apt install node-typescript(Devuan Excalibur)This is needed if you want to edit the
.tsfiles found in/priv/static/js/ts/*.ts. The built JS files are under version control and can be found in/priv/static/js/dist/
Building/Running HTTP Server
If you are only changing the Erlang or simply just want to run the program without developing it, then just run
zxh runlocal
Building TS->JS
This is only necessary if you edited the .ts files and want to transpile
them over to JS.
This requires you installed tsc as above.
make tsc
If you're doing development you may want
make watch