To get started, start a local dfx development environment in this directory with the following steps:
cd auth-client-demo/
npm install
dfx start --background --clean
dfx deps deploy
dfx deploy
#development server
npm start
To pull Internet Identity into your own project, you'll need to do the following:
- Add Internet Identity to your
dfx.json
file:
"internet-identity" : {
"type": "pull",
"id": "rdmx6-jaaaa-aaaaa-aaadq-cai"
}
- Run the following commands to install the dependencies:
dfx deps pull
dfx deps init --argument '(null)' internet-identity
dfx deps deploy
git push --set-upstream origin main --force
git commit -am "changing and deleting files"
git add -A stages All (include new files, modified and deleted)
git add . stages new and modified, without deleted
git add -u stages modified and deleted, without new