Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor Improvements to the tutorial #1

Open
stefanopepe opened this issue Jun 3, 2020 · 3 comments
Open

minor Improvements to the tutorial #1

stefanopepe opened this issue Jun 3, 2020 · 3 comments

Comments

@stefanopepe
Copy link

We are already updating our official docs, you can already update your tutorial with this key info:

  • the command make release will build both the docker image and the binary file
  • the command cargo build -p neard --release will build only the binary, and should save some time (as it doesn't have to build the container too)

Please experiment it yourself, and decide if it's worth to mention in this very good tutorial :)

@stefanopepe
Copy link
Author

I would also suggest cloning the release in a folder that identifies the build hash, for example:

nearcore-57bde24
nearcore-e6da44c7
nearcore-2d02b33
nearcore-aac1460

The command is easy, you just have to specify the folder as follows:
git clone -b beta https://github.com/nearprotocol/nearcore.git nearcore-a4f57f91

@stefanopepe stefanopepe changed the title Improve the make parameters depending on configuration minor Improvements to the tutorial Jun 3, 2020
@navneetlakra
Copy link
Contributor

Thanks for the feedback, it's great. I will update the document shortly.

navneetlakra added a commit that referenced this issue Jun 4, 2020
added details for running a cargo build only for compiling neard as raised by Stephano (#1)
@navneetlakra
Copy link
Contributor

@jimmy3dita I have updated the document as per review comments. Can you please validate?

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

No branches or pull requests

2 participants