The MySQL Capture and Replay Tool(MyCRT) allows users to capture transactions on a database and replay them in a different environment to see the effect on their systems.
- Python3 >=3.5.2
- pip
- npm >=5.8.0
- mysql >=5.6
- Clone repository
- Set up a database in mysql, keep the database name, username, and password.
- Install front end:
From within the mycrt-gui direcory, runnpm install
- Install back end dependencies:
Use an enviroment manager if desired.
Runpip install mycrt-backend/requirements.txt
- Set up the connection to the application database:
Run db_setup.py and enter the database name, username, and password from step 2. - Start the back end and the front end:
Run "start_mycrt.sh" to start the back end and front end.
OR
start the back end and front end separately:
python3 mycrt-backend/server.py
npm start --prefix mycrt-gui/