How to setup a local development environment / local testnet?

Some applications may rely on the system-level canisters, such as the ledger canister, cycles minting canister, internet identity, etc. I’m trying to write a deploy script that can help deploy these canisters to setup a local development environment automatically for developers.

I only managed to successfully deploy the ledger canister and the internet identity, are there any instructions or documents on how to deploy these canisters?

aaaaa-aa                            nns/ic-management       
rwlgt-iiaaa-aaaaa-aaaaa-cai	    nns/registry
rrkah-fqaaa-aaaaa-aaaaq-cai	    nns/governance
ryjl3-tyaaa-aaaaa-aaaba-cai	    nns/ledger
r7inp-6aaaa-aaaaa-aaabq-cai	    nns/root
rkp4c-7iaaa-aaaaa-aaaca-cai	    nns/cycles-minting
rno2w-sqaaa-aaaaa-aaacq-cai	    nns/lifeline
renrk-eyaaa-aaaaa-aaada-cai	    nns/genesis-token
rdmx6-jaaaa-aaaaa-aaadq-cai	    nns/identity
qoctq-giaaa-aaaaa-aaaea-cai	    nns/nns-ui
a4gq6-oaaaa-aaaab-qaa4q-cai	    candid-ui
                                    wallet(for every principal)
                                    nns/archive-node
3 Likes