Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
explorer/site: Add Makefile for simplified Flask Explorer site manage…
…ment Introduced a Makefile to streamline the setup, startup, and shutdown of the Flask Explorer site across different networks (localnet, testnet, mainnet). It simplifies server management and cleanup with straightforward commands. In future iterations, `testnet` and `mainnet` environments may transition to production-ready setups (e.g., running behind a reverse proxy). This implementation serves as a starting point and is expected to be expanded upon. Summary of Updates: - Automatic virtual environment setup and dependency installation (`all`, ``install` targets) - Added targets to start the Flask server for localnet, testnet, and mainnet networks - Implemented the use of a `flask.pid` file to track the Flask server’s process ID (PID), enabling proper process termination during the `stop-server` target - Provided a `clean` target to remove the virtual environment and reset the workspace
- Loading branch information