This document describes how to run SUPLA Cloud in a local development environment.
It does not apply to production or self-hosted deployments.
Please note that this setup installs SUPLA Cloud only, without the device communication server (supla-server).
Managing real devices using SUPLA Cloud alone is not possible. By default, the development environment uses a mocked supla-server for local testing.
-
Install PHP 8.3 or newer
- On Windows, you may use tools such as XAMPP or equivalent PHP distributions.
-
Install a MySQL-compatible database server
- MySQL or MariaDB
- XAMPP already includes MySQL.
-
Install Node.js LTS
- Current LTS version recommended (includes npm).
-
Install Git, then fork and clone the repository:
git clone https://github.com/YOUR_FORK/supla-cloud.git-
Go to the cloned directory.
-
Install Composer: https://getcomposer.org/download/
- Install PHP dependencies:
composer installDuring installation, Composer will ask for configuration values. For development purposes, the most important are:
database_*– database connection configurationsupla_server– set tolocalhost:8008recaptcha_enabled– set tofalse
Other values can be left at their defaults.
If you need to adjust the configuration later, edit:
app/config/parameters.yml
- Install frontend dependencies and build the frontend for the first time:
composer run-script webpack- Initialize the database and load sample data:
php bin/console cache:clear --no-warmup -e dev
php bin/console supla:dev:dropAndLoadFixtures -e dev- Run the backend application:
php -S 127.0.0.1:8008 -t web web/router.php- Run the frontend development server:
cd src/frontend
npm run serve- Open the application in your browser:
http://localhost:8080
-
Log in using the sample account:
- email:
user@supla.org - password:
pass
- email:
- This setup is intended only for development and testing.
- It uses a mocked device server and does not support real device connections.
- For production or self-hosted installations, use: https://github.com/SUPLA/supla-docker
If you would like to contribute:
- Check existing issues: https://github.com/SUPLA/supla-cloud/issues
- Comment on an issue to indicate you are working on it.
- Create a feature branch on your fork.
- Submit a pull request.
- Follow the rules described in
CONTRIBUTING.md.
Thank you for contributing to the SUPLA project.