ltfschoen / XCMTemplate

Building Cross-chain (XCM) DApps with Docker
Mozilla Public License 2.0
3 stars 0 forks source link

Add CLI argument to Docker script to only optionally build with substrate-contracts-node or swanky node #2

Closed ltfschoen closed 1 year ago

ltfschoen commented 1 year ago

For users on slower machines, the build time of the Docker container when adding substrate-contracts-node or Swanky node is substantial, and running the node on their local machine might use up most of their available memory, hard drive space with the blockchain database on their local machine, and swap space.

But they wouldn't need it if they're planning to do all development obtaining faucet tokens and deploying to already established testnets like Shibuya where the nodes are hosted by others.

ltfschoen commented 1 year ago

user can now run ./docker/docker.sh "without_node" if they don't want substrate-contracts-node to be installed in the docker container. if they do then just run ./docker/docker.sh