Clone Asylum UI repository.
asylum-ui/packages/connection-librarywith the following content:asylum-ui/packages/connection-library/.env.local
SEEDER_MNEMONIC = eternal danger cherry radar exit damage slam hip say relief awesome middle
ASYLUM_NODE_URL = ws://127.0.0.1:9944
IPFS_NODE_URL = http://127.0.0.1:5001
asylum-ui/packages/creator-studiowith the following content:asylum-ui/packages/creator-studio/.env.local
REACT_APP_MINTER_MNEMONIC = eternal danger cherry radar exit damage slam hip say relief awesome middleinfo
You can specify any mnemonic seed phrase, but it have to coincide in
Install Docker and
yarn docker:upin a root folder.caution
Make sure that port
localhostif free; otherwise web app won't start properly. You can restart asylum-ui container when the port is freed
Import account to PolkadotJS extension from seed phrase:
eternal danger cherry radar exit damage slam hip say relief awesome middle
These steps will set up and run three containers and automatically seed the mock data.
You might receive CORS policy error in Creator Studio, when you try to upload assets to IPFS.
To avoid this issue, execute the following command from
asylum-ui root when Docker is up:
docker-compose exec ipfs ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]'
docker-compose exec ipfs ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '[\"*\"]'
and then restart
If you want to reset node storage, simply restart
node-asylum container and reseed the data.
Run the following commands from
You can run
yarn docker:seed:with-items instead to seed Items as well