npm install
find ./node_modules -name ".git" -type d -exec rm -rf {} +
Add .env
the project's root directory:
VUE_APP_INFURA_KEY={Infura key}
npm run serve
npm run build
npm run test:unit
Start local application first before running the e2e test
npm run serve
npm run test:e2e
npm run test:e2e:mobile
npm run lint
To get rid of the websocket error, use the following command in the project root (where package.json lives)
find ./node_modules -name ".git" -type d -exec rm -rf {} +
Checklist: Website: *.tor.us
Test/Browser | Chrome | Safari | Brave | Firefox | Edge | iOS Safari | iOS Chrome | Android Chrome |
---|---|---|---|---|---|---|---|---|
Test login on google/discord oauths | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Skale Network Change | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Import Account | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Test wallet transfer | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Test on torus-embed vue-app all buttons | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Notes:
- When you update @metamask/contract-metadata, run the following command to sync images to s3
cd node_modules/@metamask/contract-metadata
aws s3 cp images s3://images.toruswallet.io/ --cache-control "public, max-age=604800, immutable" --metadata-directive REPLACE --recursive