Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 949 Bytes

RELEASE.md

File metadata and controls

63 lines (43 loc) · 949 Bytes

Release

NOTE: these steps were done on Ubuntu 21.04

Source

git clone [email protected]:Psychedelic/dab.git
git checkout main
git pull

Setup

Skip this section if you have already setup dependencies for deploying the canister.

If you are missing any packages:

apt-get update -y
apt-get install -y libssl-dev pkg-config

If you haven't installed the wasm32 target, install it with

rustup target add wasm32-unknown-unknown

If you haven't installed the IC CDK optimizer, install it with the following. Run this from a directory where there is no Cargo.toml:

cargo install ic-cdk-optimizer

Prepare

If cargo.lock file has been changed, run

cargo update

Build and test

node build.js
cargo test

Deploy

dfx canister --network=ic --no-wallet install nft --mode=upgrade

Update the registry

cd scripts
chmod +x add.js
./add.js path/to/your/csv/file