Deploy instructions:
git clone https://github.com/Infinity-Task-Protocol/Infinity-task-protocol.git
cd Infinity-task-protocoReplica initialice
dfx start --clean --backgroundIdenitity creation for ledger minter account
dfx identity list | grep -q "^minter$" || dfx identity new minterDeploy dependencies
dfx deps pull
dfx deps init internet_identity
dfx deps init icp_ledger --argument "(variant {
Init = record {
minting_account = \"$(dfx ledger account-id --identity minter)\";
initial_values = vec {};
send_whitelist = vec {};
transfer_fee = opt record { e8s = 10_000 : nat64; };
token_symbol = opt \"LICP\";
token_name = opt \"Local ICP\";
}
})"
dfx deps deployCandid generation
dfx generate backend
dfx generate treasuryBackend and Treasury Canister deploy
dfx deploy backend
dfx deploy treasurySetTreasury reference in main canister
dfx canister call backend setTreasuryCanisterId "(principal \"$(dfx canister id treasury)\")"Build and deploy frontend canister
cd src/frontend
npm install
npm run deploy
npm run build
npm run generate
dfx deploy frontendDeploying and configuring canister chat
dfx deploy chat
export chatCanisterID=$(dfx canister id chat)
dfx canister call backend setChatCanisterId "(principal \"${chatCanisterID}\")"In case there are already registered users on the platform
dfx canister call backend syncUsersInCanisterChat
Will continue ...