Follow these steps to run iStat locally:
-
Clone the repository:
git clone https://github.com/yourusername/istat-frontend.git
-
Navigate into the project directory:
cd istat-frontend
-
Install dependencies: Make sure you have Node.js and npm installed. Then run:
npm install
-
Build for production: To build the project for production, use:
npm run dev
-
Open the application: Open your browser and navigate to:
http://localhost:3000
Alternatively, devenv
+ Nix can be used to
automatically bring up a working environment. Install Nix and enable the
experimental flakes feature. Enter the project directory and type
nix develop --impure
All dependencies will be fetched automatically. Once the command finishes, run
devenv up
A development server will be started at localhost:5173