Skip to content

Developer Document

KeralaBlockchainAcademy edited this page Jun 5, 2023 · 2 revisions

Execution Manual

Step 1. Start ganache! Should work with ganache or geth!

Step 2. Go to SkillChain Directory and do npm install - that is update the node_modules folder when you run locally.

Step 3: Next execute truffle migrate

Step 4: Change Contract Address (Get it from truffle deployment logs):

In src directory --> app.js --> Line number 112244
change the variable: var conaddress = "<contract_address>";

The above value of contract address should be changed to the result you get when you do truffle migrate. When you do truffle migrate you get a contract address !!!. Assign that value to conaddress!!!

In src directory --> emp.js --> Line number 3
change the variable: var conaddress = "<contract_address>";

In src directory --> exp.js --> Line number 6
change the variable: var conaddress = "<contract_address>";

In src directory --> jobpop.js --> Line number 5
change the variable: var conaddress = "<contract_address>";

In src directory --> wo.js --> Line number 5
change the variable: var conaddress = "<contract_address>";

Step 5: npm run dev to start lite-server

Step 6: Goto localhost:3000

Eureka!

Clone this wiki locally