Get Started
Development
Learn how to preview changes locally
Prerequisite You should have installed Node.js (version 18.10.0 or higher).
Step 1. Install Stateset on your OS:
Step 2. Go to the are located (where you can find stateset.json
) and run the following command:
stateset dev
The platform is now available at http://localhost:3000
.
Custom Ports
Stateset uses port 3000 by default. You can use the --port
flag to customize the port Stateset runs on. For example, use this command to run in port 3333:
stateset dev --port 3333
You will see an error like this if you try to run Stateset in a port that’s already taken:
Error: listen EADDRINUSE: address already in use :::3000