Installation Guide¶
Quick Start¶
To install StressSimple, execute the following commands:
git clone https://github.com/your-repo/stresssimple.git
cd stresssimple
npm run compose:up:app
This will clone the repository, navigate to the project directory, and initialize the necessary Docker containers.
Once the setup is complete, you can access the StressSimple dashboard at http://localhost:5000.
Detailed Instructions¶
The repository includes three Docker Compose files:
docker-compose.infra.yml: Manages infrastructure services required for the application:- InfluxDB: A time-series database for storing test results.
- MySQL: A relational database for user data.
docker-compose.app.yml: Deploys the StressSimple application using pre-built images fromghcr.io.docker-compose.dev.yml: Builds and runs Docker containers directly from the source code.
To start the application, use one of the following commands:
npm run compose:up:app
# or for development
npm run compose:build
npm run compose:up
Local Development Setup¶
Follow these steps to run the application locally:
- Clone the repository.
- Navigate to the project directory.
- Install dependencies using
npm install. - Start the required services with
npm run compose:up:infra. - Launch the backend with
npm start:backend. - Launch the frontend with
npm start:front.
The StressSimple dashboard will be available at http://localhost:5173/.
Uninstalling StressSimple¶
To remove the application and its associated containers, run:
npm run compose:delete
Warning: This will permanently delete all data stored in the databases. Installation Guide