Installation
Two commands. That’s the entire installation. Let’s get you set up.Set up your repository
You received a Refract repository URL with your purchase. The recommended setup keeps Refract as anupstream remote so you can pull future updates without clobbering your own work.
1. Clone Refract and move into the project:
origin (your project) and upstream (Refract). When new versions of Refract ship, you pull them from upstream — see Updating Refract for the full workflow including conflict resolution.
You should see: a workspace with
apps/backend, apps/frontend, compose.yml, and Makefile at the repo root. If you see these, you’re in the right place.npm install, no pnpm install, no dependency dance on the host. Run this once after cloning to populate your local node_modules (used by your IDE’s TypeScript language server for type resolution):
Create your local environment file
Refract uses a.env.development file at the repo root to configure the local stack. Copy the example file to get started:
.env.example is missing from your checkout for any reason, create .env.development manually using the variable list in Configuration and README.md.
That’s it — you’re cloned and ready to configure. The heavy lifting starts in Step 3. → Next: Step 3 — Configuration