spire.officejs-service-linux-brook
v1.0.5
Published
The `spire.officejs-service-linux` package provides the **Spire.OfficeJS backend server service** for **Linux (x64)** platforms. It is the server-side companion to the [Spire.OfficeJS](https://www.e-iceblue.com/Introduce/spire-office-js.html) front-end li
Maintainers
Readme
spire.officejs-service-linux
The spire.officejs-service-linux package provides the Spire.OfficeJS backend server service for Linux (x64) 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 Linux systems.
What's Included
- Native Server Binary —
officeserver-linux, the core Office document server compiled for Linux x64 - 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-linuxDuring 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
