Documentation / How-to guides
Export and deploy
Publish the generated source code to your repository and deploy it as a standard Node.js and React application.
Applies to Glyphox 1.0.10
Before you begin
- A workspace that is a Git repository.
- A plan that includes Export and Publish. The Pricing page lists what each plan includes.
Step 1: Set each environment's values
Open Solution Settings → Environments. Enter the values that differ between environments, and enter credentials under Sealed secrets. Publish writes each environment's configuration to deploy/<name>/.


Select Generate key for an environment before you seal its first value. The private key is shown once: set it as GLYPHOX_SECRETS_KEY in that deployment.
Step 2: Publish
Run Glyphox: Publish Solution. It writes the generated source code to your repository under generated/, adds the CI pipeline for your Git host and stages the result with a commit message.

Step 3: Commit and push
Review the staged changes in Source Control, then commit and push. The pipeline builds the application on every push.
What is exported
A complete solution is exported as a single folder structure: a service for each module, a gateway and an identity service. Each service has a Dockerfile, and the root contains the Docker Compose file, including the database.
The result is a React bundle and Node.js services, which can be hosted on any platform that supports them.
After a merge
The model is what is merged. After merging model changes, run Publish again so that the generated code matches the model.
Alternative: build from a terminal
$ cd generated/services/<module>/web && npm install && npm run build # static bundle
$ cd generated/services/<module>/api && npm install && npm run build # prisma generate && tscIf a step fails, see Troubleshoot the first run or contact support.