Skip to content

Conversation

@ackintosh
Copy link
Contributor

We expect the script should exit immediately if the script run offline and curl command fails, but the script continues running.

$ ls -a
.  ..

########################################
# Run the script OFFLINE
########################################
$ substrate-node-new hello-substrate ackintosh

  Substrate Node Template Setup
  Downloading project...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: releases.parity.io
mv: rename substrate-node-template to hello-substrate: No such file or directory
/Users/akihito1/.cargo/bin/substrate-node-new: line 49: pushd: hello-substrate: No such file or directory
Customizing project...
Initializing repository...
Initializing WebAssembly build environment...
/Users/akihito1/.cargo/bin/substrate-node-new: line 88: ./scripts/build.sh: No such file or directory
Building node...
error: could not find `Cargo.toml` in `/Users/akihito1/substrate` or any parent directory

Chain client created in hello-substrate.
To start a dev chain, run:
$ hello-substrate/target/release/hello-substrate --dev
To create a basic Bonds UI for your chain, run:
$ substrate-ui-new hello-substrate
To push to a newly created GitHub repository, inside hello-substrate, run:
$ git remote add origin git@github.com:myusername/myprojectname && git push -u origin master

/Users/akihito1/.cargo/bin/substrate-node-new: line 103: popd: directory stack empty

########################################
# The git related files are created unintentionally
########################################
$ ls -a
.  ..  .git .gitignore

@parity-cla-bot
Copy link

It looks like @ackintosh hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement at the following URL: https://cla.parity.io

Once you've signed, please reply to this thread with [clabot:check] to prove it.

Many thanks,

Parity Technologies CLA Bot

@ackintosh
Copy link
Contributor Author

[clabot:check]

@parity-cla-bot
Copy link

It looks like @ackintosh signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

@shawntabrizi shawntabrizi merged commit 48af1b6 into paritytech:master Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants