### Development Setup and Execution Source: https://github.com/wuranxu/pity/blob/main/README.md Steps to clone the Pity project from GitHub, install its Python dependencies, and run the application. It also outlines the process for initial user registration to gain super administrator privileges. ```bash git clone https://github.com/wuranxu/pity cd pity # Install dependencies (consider using a virtual environment) pip install -r requirements.txt # Ensure Redis and MySQL are running and configured in conf/dev.env # Start the Pity service python pity.py # Access the web UI at http://localhost:7777 and register the first user as super admin. ``` -------------------------------- ### Docker Deployment Source: https://github.com/wuranxu/pity/blob/main/README.md Instructions for deploying the Pity platform using Docker Compose. This command initiates all necessary services defined in the docker-compose.yaml file, providing a quick setup without manual installation of dependencies like MySQL or Redis. ```bash docker-compose -f .\ops\docker-compose.yaml up ``` -------------------------------- ### Install Dependencies Source: https://github.com/wuranxu/pity/blob/main/README_EN.md Command to install project dependencies using pip. It's recommended to use a mirror source for faster installation. ```python # 可换豆瓣源或者清华源安装依赖 pip install -r requirements.txt ``` -------------------------------- ### Start Pity Server Source: https://github.com/wuranxu/pity/blob/main/README_EN.md Command to run the Pity server application using Python. ```python python pity.py ``` -------------------------------- ### Clone Pity Repository Source: https://github.com/wuranxu/pity/blob/main/README_EN.md Instructions to clone the Pity project from GitHub and navigate into the project directory. ```bash git clone https://github.com/wuranxu/pity cd pity ``` -------------------------------- ### Handle Theme Persistence and System Preference Source: https://github.com/wuranxu/pity/blob/main/docs/404.html This code snippet initializes theme settings by reading from localStorage and applying the appropriate theme class to the document element. It supports 'light', 'dark', and 'auto' modes, falling back to 'light' if no valid preference is found. ```javascript window.routerBase = "/"; //! umi version: 3.5.20 !(function () { var e = localStorage.getItem("dumi:prefers-color"), t = window.matchMedia("(prefers-color-scheme: dark)").matches, r = ["light", "dark", "auto"]; document.documentElement.setAttribute( "data-prefers-color", e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0] ); })(); ``` -------------------------------- ### Handle Theme Persistence and System Preference Source: https://github.com/wuranxu/pity/blob/main/docs/index.html This code snippet initializes theme settings by reading from localStorage and applying the appropriate theme class to the document element. It supports 'light', 'dark', and 'auto' modes, falling back to 'light' if no valid preference is found. ```javascript window.routerBase = "/"; //! umi version: 3.5.20 !(function () { var e = localStorage.getItem("dumi:prefers-color"), t = window.matchMedia("(prefers-color-scheme: dark)").matches, r = ["light", "dark", "auto"]; document.documentElement.setAttribute( "data-prefers-color", e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0] ); })(); ``` -------------------------------- ### Pity Coming Soon Features Source: https://github.com/wuranxu/pity/blob/main/README_EN.md List of features planned for future development in the Pity auto test tool, such as microservices support, CI/CD integration, and new protocol support. ```markdown - [ ] 🐘 Micro Services - [ ] 🐄 DataFactory for developing data - [ ] 🐸 support har/jmx to pity case - [ ] 👍 CI/CD,like pipeline, provide openapi - [ ] 🌼 notification - [ ] 🌛 support dubbo/grpc - [ ] 🐛 yapi - [ ] 🌽 and so on ``` -------------------------------- ### Pity Features Source: https://github.com/wuranxu/pity/blob/main/README_EN.md List of features available in the Pity auto test tool, including authentication, project management, performance, data handling, and reporting. ```markdown + 🔥 absolute auth rule, support login with github + 🀄 absolute project management * 🚴 fast with FastApi - 📝 many options for data dependencies, you can make and use data so easy - 🎨 online http request like postman - 🍷 global variable for you - 🐍 redis online - 🐎 test plan - 🙈 online database manager - 📰 beautiful email notification - 😹 cronjob for case - 🐧 beautiful test report ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.