Skip to content

TaskarCenterAtUW/workspaces-rapid

Repository files navigation

workspaces-rapid

This repository packages multiple versions of Rapid (a front-end OSM editor) into a single nginx Docker container, serving them as static files.

How it works

  • rapid2 is installed from npm (@rapideditor/rapid@^2.x)
  • rapid3 is currently a local file:../rapid dependency (not yet published to npm); once published it will become a normal npm alias too
  • scripts/build.sh installs nothing — it just copies node_modules/rapid2/dist and node_modules/rapid3/dist into ./dist/rapid2/ and ./dist/rapid3/
  • ./dist/ is gitignored on development branches to avoid churn; it is committed only on dedicated release branches
  • The Dockerfile is intentionally minimal: it just copies ./dist/ into an nginx image

Deployment context

This repo is referenced by workspaces-stack (a separate repo), which git clones this project and builds the Docker image via docker-compose.build.yml. No build happens inside Docker — the pre-built dist/ is all that's needed.

See the RELEASE.md for the release checklist.

Developer workflow

npm install        # or bun/yarn/pnpm — any package manager works
sh ./scripts/build.sh   # populates ./dist/
docker build -t workspaces-rapid .
docker run --rm -p 8080:80 workspaces-rapid

You should be able to access:

License

workspaces-rapid is available under the ISC License. See the LICENSE.md file for more details.

About

A fork of the Rapid editor customized for TDEI/Workspaces/OSW

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages