Local Run
Run Localess locally for development or to try it out without any cloud infrastructure.
Running Localess locally is the fastest way to explore features, develop integrations, or contribute to the project — no cloud account required.
For a quick preview without cloning the repository, see the Docker setup instead.
Prerequisites
- Node.js 24 (pinned in the repository's
package.json) - npm v10 or later (bundled with Node.js)
- Java 21 or later (required by the Firebase Emulators)
- Firebase CLI 15.29.0 or later
Install the Firebase CLI if you haven't already:
npm install -g firebase-tools@latestClone the repository
git clone https://github.com/Lessify/localess.git
cd localessInstall dependencies
npm installCloud Functions are a separate package and must be built before the emulator can load them:
cd functions
npm install
npm run build
cd ..Start the emulators
Localess uses Firebase Emulators to run all backend services locally:
npm run emulatorThis starts the following emulators:
| Emulator | Port |
|---|---|
| Emulator UI | 4000 |
| Hosting | 5000 |
| Auth | 9099 |
| Functions | 5001 |
| Firestore | 8080 |
| Storage | 9199 |
Start the development server
In a separate terminal, start the Angular dev server:
npm run startOpen http://localhost:4200 in your browser.
First start
There is no setup page. Create your first admin once, in the Firebase Emulator UI:
- Open http://localhost:4000 and go to Authentication.
- Add user with an email and password.
- Edit the user and set its custom claims to
{"role":"admin"}.
Sign in to Localess at http://localhost:4200 with that account, then create your first space. The emulator exports its state to firebase-export on exit, so the account survives restarts.