Skip to main content
10 events
when toggle format what by license comment
Jun 22, 2023 at 5:08 comment added Luke Schoen Let us continue this discussion in chat.
Jun 22, 2023 at 1:17 comment added Luke Schoen run the following to stop and remove the container before you run the commands again docker stop ink && docker rm ink and see if there are any errors.
Jun 22, 2023 at 1:12 comment added Luke Schoen and add the following in run.sh right after WITHOUT_NODE=$1 DEBIAN_CODENAME=$2 HOME=$3 RUST_NIGHTLY=$4 CARGO_CONTRACT_VERSION=$5 SUBSTRATE_CONTRACTS_NODE_VERSION=$6 NODE_VERSION_MAJOR=$7
Jun 22, 2023 at 1:11 comment added Luke Schoen not on my computer now but I think it's because you need to change this line in Dockerfile: RUN ./docker/run.sh ${WITHOUT_NODE} ${DEBIAN_CODENAME} ${HOME} ${RUST_NIGHTLY} ${CARGO_CONTRACT_VERSION} ${SUBSTRATE_CONTRACTS_NODE_VERSION} ${NODE_VERSION_MAJOR}
Jun 21, 2023 at 18:37 comment added 0xD1x0n I got to the part where I open up 2 terminals using : docker exec -it ink /bin/bash. Looks like there is no app folder in it. the docker folder it contains only has a run.sh file in it.
Jun 21, 2023 at 10:22 comment added Luke Schoen the dockerfile that it uses is here github.com/ltfschoen/InkTemplate/blob/main/docker/Dockerfile
Jun 21, 2023 at 7:54 comment added Luke Schoen i've added it in this PR github.com/ltfschoen/InkTemplate/pull/17/… including instructions. so just need to install Docker then run something like touch .env && cp .env.example .env && time ./docker/docker.sh, then run docker exec -it ink /bin/bash in two terminals, and inside one terminal start a substrate-contracts-node with cd /app && ./docker/reset.sh, and in the other terminal run cd /app && ./docker/quickstart-ipsp22.sh to build and deploy and instantiate that smart contract
Jun 21, 2023 at 4:30 comment added 0xD1x0n I got this error along with hundreds other similar to it : error[E0152]: duplicate lang item in crate alloc (which std depends on): owned_box.
Jun 20, 2023 at 23:51 comment added 0xD1x0n Could you share your Docker file ?
Jun 20, 2023 at 11:03 history answered Luke Schoen CC BY-SA 4.0