- Install DFINITY SDK using the following command:
DFX_VERSION=0.15.2 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
- Add DFINITY to your PATH variables by appending the following line to your
.bashrc
:
echo 'export PATH="$PATH:$HOME/bin"' >> "$HOME/.bashrc"
- Start the DFINITY local environment in the background:
dfx start --background
- Install project dependencies:
npm install
- Make the deployment script executable:
chmod +x ./deploy.sh
- Run the deployment script to build, deploy, and initialize canisters:
./deploy.sh --service-id '<YOUR_PRINCIPLE_HERE>'
Note: This process may take some time.