This project was imported from the KIT GitLab and was created in a team of three students. My part was only the JavaScript frontend based on React. You can find the original project under https://git.scc.kit.edu/uhksn/peer.
- Install Node Modules
- Start Docker Containers
- Install and Setup MetaMaskPlugin
- CORS unblock PlugIn
- Install yarn from https://yarnpkg.com/.
- Go to /app.
- Install requirements with: yarn install.
- In /peer/app: yarn build
- In /peer: docker-compose up --build
- cd app
- yarn build
- docker build -t app .
- docker run -p 8081:80 -it app
- Install MetaMask Browser-PlugIn
- Open PlugIn
- Add "Special RPS": Name: Ganache, URL: http://localhost:8545, ChainID: 1337
- Import Account: Enter private key: 0xb2c488b68a775c823263a436bbb8876c4ba64c4b21a0713c5fede5ad369ef89b
- If your private key shouldnt work: Get one account from the account list in "./Documentation.md"
- Then Copy first entry of list "private keys" in console
- Import Account: Enter private key from step before
- On the index page: Click on file input and choose all the pdf in test_data.
- Click on upload test data.
- Wait till MetaMask prompted to submit each contract.
- Click on start listener.
- Wait till you see indexing pdf for each test thesis in console. This may take a while.
- In /app: yarn start
- Open //localhost:3000
- In /app: yarn build
- In /peer: docker-compose up --build
- Open //localhost:8081
For further details see: "./Documentation.md".