Set up a local development environment for COMIT apps with one command.
If you have any question please reach out to the team in our Gitter chat!
- Install Docker,
- Install yarn,
create-comit-app
can now be run with either:
yarn create comit-app --help
yarn create comit-app new <your-app-name>
,yarn create comit-app start-env
to start blockchain and COMIT nodes,- Run the btc-eth example (in separate terminal):
- Navigate to the btc-eth example app directory
cd <path-to-your-app>/examples/btc_eth
, yarn install
to install dependencies,yarn start
to run the application.
- Navigate to the btc-eth example app directory
You can find additional examples in the examples directory that is created as part of step 1.
Important: You don't have to follow this section, the above section is actually sufficient.
- Install Docker,
- Install Rust:
curl https://sh.rustup.rs -sSf | sh
, - Checkout the repo:
git clone https://github.com/comit-network/create-comit-app/; cd create-comit-app
, - Build and install:
make install
.