This is crowdfunding project based on substrate.
Install Node(10.16.0) and Yarn:
$ curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh -o install_nvm.sh
$ sudo chmod +x install_nvm.sh
$ ./install_nvm.sh
$ source ~/.profile
$ nvm install 10.16.0
# check `node -v` and `npm -v` then
$ npm install yarn -g
Install Rust:
$ curl https://getsubstrate.io -sSf | bash -s -- --fast
Clone the project:
$ git clone https://github.com/SherLzp/substrate-crowdfunding.git
Compile the project:
Substrate Part:
$ cd substrate-crowdfunding/substrate-crowdfunding
$ ./scripts/build.sh
$ cargo build --release
UI Part:
$ cd substrate-crowdfunding/substrate-crowdfunding-ui
$ yarn install
Substrate:
$ cd substrate-crowdfunding/substrate-crowdfunding
$ ./target/release/substrate-crowdfunding --dev
UI:
$ cd substrate-crowdfunding/substrate-crowdfunding-ui
$ yarn run dev
Access via:
If you are interested in the project, you can read the tutorial here: