mirror of
https://github.com/maplibre/martin.git
synced 2024-12-20 21:31:49 +03:00
7f18b6bbf2
Add an optional web UI interface for Martin, including docker-based cross-compilation support. The UI itself is a placeholder with a logo, but will grow in subsequent PRs. This was branched off of https://github.com/maplibre/martin/pull/1142 to address the PR feedback from @nyurik . --------- Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com> Co-authored-by: Tomer Ronen <tomer207@gmail.com> Co-authored-by: tomeronen <45331634+tomeronen@users.noreply.github.com>
14 lines
523 B
TOML
14 lines
523 B
TOML
[build]
|
|
pre-build = [
|
|
# install nodejs and npm to compile static web resources
|
|
# note that architecture could be the same as the container, not $CROSS_DEB_ARCH
|
|
# Need to use a fairly old Node.js version to support the old underlying docker image
|
|
"curl -fsSL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh",
|
|
"bash nodesource_setup.sh",
|
|
"apt-get install -y nodejs",
|
|
"node -v",
|
|
# Using old NPM, so must ensure correct access
|
|
"mkdir -p /.npm",
|
|
"chown -R 1001:127 /.npm",
|
|
]
|