npm install --legacy-peer-deps
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 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Skale Network Change | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Import Account | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Test wallet transfer | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Test on torus-embed vue-app all buttons | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Notes:
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
Feature list includes the following:
Environment | Torus Network | GitHub branch |
---|---|---|
alpha | testnet | Any branch |
beta | testnet | Any branch |
testing | testnet | develop |
staging | mainnet | staging (versioning) |
prod | mainnet | master (versioning) |
cyan | cyan | master (versioning) |