- Truffle
- Node.js
- Python 3
- MySQL
- Create a database in MySQL named dejavu.
- Import dejavu.sql in it.
- Change the MySQL connection parameters in the following files. 1. patent-backend/ImageComparision/dejavu.py (line no. 10) 2. patent-backend/AudioComparision/dejavu.cnf.SAMPLE
pip install -r requirements.txt
- CD into patent-backend, and run
npm install
- CD into patent-frontend and run
npm install
- Run the following command
sudo ./start.sh
- Switch to the console in which truffle is running.
- Type the following commands
1.
compile --reset
2.migrate --reset
- Copy the deployed contract address of AutionProcess.
- In patent-backend/blockchainConfig.json change the networkAdress to the rpc address and auctionContractAddress to the above deployment address.