spire.officejs-service-arm-test
v1.0.1
Published
The `spire.officejs-service-arm` package provides the **Spire.OfficeJS backend server service** for **Linux (ARM)** platforms. It is the server-side companion to the [Spire.OfficeJS](https://www.e-iceblue.com/Introduce/spire-office-js.html) front-end libr
Readme
spire.officejs-service-arm
The spire.officejs-service-arm package provides the Spire.OfficeJS backend server service for Linux (ARM) platforms. It is the server-side companion to the Spire.OfficeJS front-end library, enabling document processing capabilities such as collaborative editing and persistent storage on ARM-based Linux systems (e.g., Raspberry Pi, AWS Graviton, Apple Silicon Linux VMs).
What's Included
- Native Server Binary —
officeserver-linux, the core Office document server compiled for Linux ARM - SQLite Native Addon —
node_sqlite3.nodefor local data persistence - Default Configuration — pre-configured server settings (port, storage, logging, database, security, etc.)
- Auto-Config Setup — a postinstall script that copies the default configuration to your project root as
spire.officejs-server-config.json
Installation
npm install spire.officejs-service-armDuring installation, the postinstall script will automatically copy a default server configuration file (spire.officejs-server-config.json) to your project root. If the file already exists, it will not be overwritten — this prevents accidental overwrites of your custom configuration.
Platform Support
| Platform | Architecture | Package |
|----------|-------------|---------|
| Windows | x64 | spire.officejs-service-win |
| Linux | x64 | spire.officejs-service-linux |
| Linux | ARM | spire.officejs-service-arm |
Running the Server: Development vs Production
The run_servers.sh script — the runtime environment is entirely controlled by the spire.officejs-server-config.json configuration file. The workflow for both environments is: configure first, then run.
Development Environment
Step 1 — Prepare the development config
Edit spire.officejs-server-config.json in your project root.
Step 2 — Start the server
Run your project in development environment.
Step 3 — Stop the server
stop your project in development environment.
Production Environment
Step 1 — Prepare the production config
Before building, edit spire.officejs-server-config.json in your project root and ensure the following production settings are properly configured:
Step 2 — Start the server
cd /dist/spire.officejs/service
./run_servers.sh startStep 3 — Stop the server
cd /dist/spire.officejs/service
./run_servers.sh stopGetting More Help
- Visit the Spire.OfficeJS home page: https://www.e-iceblue.com/Introduce/spire-office-js.html
- Forum: https://www.e-iceblue.com/forum/
- Temporary License: https://www.e-iceblue.com/TemLicense.html
