From 4a87a662d1ac3782e4a6deb3098756dc95a5da88 Mon Sep 17 00:00:00 2001 From: Alexander Graebe Date: Mon, 27 Apr 2020 13:57:33 -0700 Subject: [PATCH] Node guide: Add debug info & linux requiremen, remove ruby version for local installation (#576) * Add debug info, linux requirement and remove ruby version for local install * Update linux instructions based on #575 --- Gemfile | 1 - Gemfile.lock | 5 +---- _core/smart/neon-node.md | 17 ++++++++++++++++- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 6b336239..1a495b8a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,4 @@ source "https://rubygems.org" -ruby '~> 2.5.1' # Hello! This is where you manage which Jekyll version is used to run. # When you want to use a different version, change it below, save the diff --git a/Gemfile.lock b/Gemfile.lock index e817d0c3..663addbf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -121,8 +121,5 @@ DEPENDENCIES jekyll-toc tzinfo-data -RUBY VERSION - ruby 2.5.1p57 - BUNDLED WITH - 1.16.6 + 1.17.3 diff --git a/_core/smart/neon-node.md b/_core/smart/neon-node.md index af3ce96d..629bfc23 100644 --- a/_core/smart/neon-node.md +++ b/_core/smart/neon-node.md @@ -11,6 +11,13 @@ permalink: /:collection/:path.html * TOC {:toc} +### Prerequisites +Note: If you use Linux, you may need to manually install [`libssl-dev`](https://wiki.openssl.org/index.php/Libssl_API) and other packages. In your command line, run the following to get all packages: + +```bash +sudo apt-get install build-essential cmake libssl-dev pkg-config +``` + ### Download and install the `stacks-blockchain` repository The first step is to ensure that you have Rust and the support software installed. @@ -72,4 +79,12 @@ The above code will compile an optimized binary. To use it, run: ```bash ./target/release/stacks-node ./testnet/conf/neon-follower-conf.toml -``` \ No newline at end of file +``` + +### Enable debug logging + +In case you are running into issues or would like to see verbose logging, you can run your node with debug logging enabled. In the command line, run: + +```bash +BLOCKSTACK_DEBUG=1 stacks-node neon +```