From b29d6e4b0c16744a0c07f816b0bab0b45fd00bf1 Mon Sep 17 00:00:00 2001 From: inertia <amartin75@gmail.com> Date: Sun, 29 Mar 2020 10:21:06 -0700 Subject: [PATCH] reorganized tutorials that no longer live in dedicated repos --- Rakefile | 39 ++++++++----------- _tutorials-javascript/account_reputation.md | 6 +-- _tutorials-javascript/blog_feed.md | 6 +-- _tutorials-javascript/claim_rewards.md | 6 +-- _tutorials-javascript/client_signing.md | 10 ++--- _tutorials-javascript/convert_sbd_to_steem.md | 7 ++-- _tutorials-javascript/create_account.md | 6 +-- _tutorials-javascript/delegate_power.md | 6 +-- .../edit_content_patching.md | 6 +-- _tutorials-javascript/follow_a_user.md | 6 +-- _tutorials-javascript/get_account_comments.md | 6 +-- _tutorials-javascript/get_account_replies.md | 6 +-- .../get_delegations_by_user.md | 6 +-- .../get_follower_and_following_list.md | 6 +-- _tutorials-javascript/get_post_comments.md | 6 +-- _tutorials-javascript/get_post_details.md | 6 +-- _tutorials-javascript/get_posts.md | 8 ++-- .../get_state_replacement_api.md | 6 +-- .../get_voters_list_on_post.md | 6 +-- _tutorials-javascript/getting_started.md | 20 +++++----- .../grant_active_permission.md | 7 ++-- .../grant_posting_permission.md | 6 +-- _tutorials-javascript/power_down.md | 6 +-- _tutorials-javascript/power_up_steem.md | 6 +-- _tutorials-javascript/reblogging_post.md | 6 +-- _tutorials-javascript/search_accounts.md | 6 +-- _tutorials-javascript/search_tags.md | 6 +-- _tutorials-javascript/set_withdraw_route.md | 6 +-- _tutorials-javascript/steemconnect.md | 18 ++++----- .../stream_blockchain_transactions.md | 6 +-- _tutorials-javascript/submit_comment_reply.md | 10 ++--- _tutorials-javascript/submit_post.md | 6 +-- .../transfer_steem_and_sbd.md | 6 +-- _tutorials-javascript/vote_on_content.md | 6 +-- .../witness_listing_and_voting.md | 6 +-- _tutorials-python/account_recovery.md | 6 +-- _tutorials-python/account_reputation.md | 7 ++-- _tutorials-python/claim_rewards.md | 6 +-- _tutorials-python/convert_sbd_to_steem.md | 9 +++-- _tutorials-python/delegate_power.md | 7 ++-- _tutorials-python/edit_content_patching.md | 7 ++-- _tutorials-python/follow_a_user.md | 6 +-- _tutorials-python/get_account_comments.md | 7 ++-- _tutorials-python/get_account_replies.md | 7 ++-- _tutorials-python/get_delegations_by_user.md | 7 ++-- .../get_follower_and_following_list.md | 6 +-- _tutorials-python/get_post_comments.md | 7 ++-- _tutorials-python/get_post_details.md | 7 ++-- _tutorials-python/get_posts.md | 7 ++-- _tutorials-python/get_voters_list_on_post.md | 7 ++-- _tutorials-python/getting_started.md | 2 +- _tutorials-python/grant_active_permission.md | 7 ++-- _tutorials-python/grant_posting_permission.md | 7 ++-- _tutorials-python/password_key_change.md | 7 ++-- _tutorials-python/power_down.md | 6 +-- _tutorials-python/power_up_steem.md | 7 ++-- _tutorials-python/reblogging_post.md | 7 ++-- _tutorials-python/search_accounts.md | 7 ++-- _tutorials-python/search_tags.md | 2 +- .../stream_blockchain_transactions.md | 7 ++-- _tutorials-python/submit_comment_reply.md | 7 ++-- _tutorials-python/submit_post.md | 7 ++-- _tutorials-python/transfer_STEEM_and_SBD.md | 7 ++-- ...ansfer_steem_and_sbd_to_savings_balance.md | 7 ++-- _tutorials-python/using_keys_securely.md | 7 ++-- _tutorials-python/vote_on_content.md | 7 ++-- .../witness_listing_and_voting.md | 7 ++-- _tutorials-ruby/blog_feed.md | 2 +- _tutorials-ruby/edit_content_patching.md | 2 +- _tutorials-ruby/follow_another_user.md | 2 +- _tutorials-ruby/get_account_comments.md | 2 +- _tutorials-ruby/get_account_replies.md | 2 +- .../get_follower_and_following_list.md | 2 +- _tutorials-ruby/get_post_comments.md | 2 +- _tutorials-ruby/get_post_details.md | 2 +- _tutorials-ruby/get_posts.md | 2 +- _tutorials-ruby/get_voters_list_on_post.md | 2 +- _tutorials-ruby/getting_started.md | 4 +- _tutorials-ruby/reblogging_post.md | 2 +- _tutorials-ruby/search_accounts.md | 2 +- _tutorials-ruby/search_tags.md | 2 +- .../stream_blockchain_transactions.md | 2 +- _tutorials-ruby/submit_comment_reply.md | 2 +- _tutorials-ruby/submit_post.md | 4 +- _tutorials-ruby/vote_on_content.md | 2 +- .../tutorials_job/base.rb | 32 ++++----------- lib/generate/tutorials_job/javascript.rb | 14 +++++++ lib/generate/tutorials_job/python.rb | 14 +++++++ lib/generate/tutorials_job/ruby.rb | 14 +++++++ lib/scrape/tutorials_job/javascript.rb | 16 -------- lib/scrape/tutorials_job/python.rb | 16 -------- lib/scrape/tutorials_job/ruby.rb | 16 -------- tutorials/devportal-tutorials-js/README.md | 6 +-- .../tutorials/00_getting_started/README.md | 18 ++++----- .../tutorials/01_blog_feed/README.md | 4 +- .../tutorials/02_steemconnect/README.md | 4 +- .../tutorials/03_client_signing/README.md | 4 +- .../tutorials/04_get_posts/README.md | 4 +- .../tutorials/05_get_post_details/README.md | 4 +- .../06_get_voters_list_on_post/README.md | 4 +- .../tutorials/07_get_post_comments/README.md | 4 +- .../08_get_account_replies/README.md | 4 +- .../09_get_account_comments/README.md | 4 +- .../tutorials/10_submit_post/README.md | 4 +- .../11_submit_comment_reply/README.md | 4 +- .../12_edit_content_patching/README.md | 4 +- .../README.md | 4 +- .../tutorials/14_reblogging_post/README.md | 4 +- .../tutorials/15_search_accounts/README.md | 4 +- .../tutorials/16_search_tags/README.md | 4 +- .../tutorials/17_vote_on_content/README.md | 4 +- .../tutorials/18_follow_a_user/README.md | 4 +- .../README.md | 4 +- .../tutorials/20_account_reputation/README.md | 4 +- .../21_transfer_steem_and_sbd/README.md | 4 +- .../22_witness_listing_and_voting/README.md | 4 +- .../tutorials/23_claim_rewards/README.md | 4 +- .../tutorials/24_power_up_steem/README.md | 4 +- .../tutorials/25_power_down/README.md | 4 +- .../tutorials/26_create_account/README.md | 4 +- .../tutorials/27_delegate_power/README.md | 4 +- .../tutorials/28_set_withdraw_route/README.md | 4 +- .../29_get_delegations_by_user/README.md | 4 +- .../30_grant_posting_permission/README.md | 4 +- .../31_grant_active_permission/README.md | 6 +-- .../32_convert_sbd_to_steem/README.md | 6 +-- .../34_get_state_replacement_api/README.md | 4 +- tutorials/devportal-tutorials-py/README.md | 6 +-- .../001_using_keys_securely/README.md | 5 +-- .../tutorials/04_get_posts/README.md | 5 +-- .../tutorials/05_get_post_details/README.md | 5 +-- .../06_get_voters_list_on_post/README.md | 5 +-- .../tutorials/07_get_post_comments/README.md | 5 +-- .../08_get_account_replies/README.md | 6 +-- .../09_get_account_comments/README.md | 5 +-- .../tutorials/10_submit_post/README.md | 5 +-- .../11_submit_comment_reply/README.md | 6 +-- .../12_edit_content_patching/README.md | 6 +-- .../README.md | 6 +-- .../tutorials/14_reblogging_post/README.md | 5 +-- .../tutorials/15_search_accounts/README.md | 6 +-- .../tutorials/17_vote_on_content/README.md | 6 +-- .../tutorials/18_follow_a_user/README.md | 4 +- .../README.md | 4 +- .../tutorials/20_account_reputation/README.md | 6 +-- .../21_transfer_steem_and_sbd/README.md | 6 +-- .../22_witness_listing_and_voting/README.md | 6 +-- .../tutorials/23_claim_rewards/README.md | 4 +- .../tutorials/24_power_up_steem/README.md | 6 +-- .../tutorials/25_power_down/README.md | 4 +- .../tutorials/27_delegate_power/README.md | 6 +-- .../29_get_delegations_by_user/README.md | 6 +-- .../30_grant_posting_permission/README.md | 6 +-- .../31_grant_active_permission/README.md | 6 +-- .../32_convert_sbd_to_steem/README.md | 6 +-- .../33_password_key_change/README.md | 6 +-- .../README.md | 6 +-- .../tutorials/35_account_recovery/README.md | 4 +- tutorials/devportal-tutorials-rb/README.md | 2 +- .../tutorials/00_getting_started/README.md | 2 +- 160 files changed, 479 insertions(+), 507 deletions(-) rename lib/{scrape => generate}/tutorials_job/base.rb (71%) create mode 100644 lib/generate/tutorials_job/javascript.rb create mode 100644 lib/generate/tutorials_job/python.rb create mode 100644 lib/generate/tutorials_job/ruby.rb delete mode 100644 lib/scrape/tutorials_job/javascript.rb delete mode 100644 lib/scrape/tutorials_job/python.rb delete mode 100644 lib/scrape/tutorials_job/ruby.rb diff --git a/Rakefile b/Rakefile index e8a97586..04bb9125 100644 --- a/Rakefile +++ b/Rakefile @@ -1,10 +1,10 @@ lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'scrape/api_definitions_job' -require 'scrape/tutorials_job/base' -require 'scrape/tutorials_job/javascript' -require 'scrape/tutorials_job/python' -require 'scrape/tutorials_job/ruby' +require 'generate/tutorials_job/base' +require 'generate/tutorials_job/javascript' +require 'generate/tutorials_job/python' +require 'generate/tutorials_job/ruby' require 'rake/testtask' require 'net/https' @@ -13,15 +13,6 @@ require 'yaml' require 'html-proofer' namespace :scrape do - desc "Scrape steemjs docs" - task :javascript do - - end - - desc "Scrape pysteem docs" - task :python do - end - desc "Scrape API Definitions" task :api_defs do url = ENV.fetch('TEST_NODE', 'https://api.steemit.com') @@ -30,40 +21,42 @@ namespace :scrape do puts "Methods added or changed: #{count}" end +end - desc 'Scrape all known tutorial repositories.' +namespace :gen do + desc 'Generate all known tutorial README.md files.' task :tutorials do puts '=' * 80 puts "JS-Tutorials:" - Rake::Task["scrape:tutorials:js"].invoke + Rake::Task["gen:tutorials:js"].invoke puts '=' * 80 puts "PY-Tutorials:" - Rake::Task["scrape:tutorials:py"].invoke + Rake::Task["gen:tutorials:py"].invoke puts '=' * 80 puts "RB-Tutorials:" - Rake::Task["scrape:tutorials:rb"].invoke + Rake::Task["gen:tutorials:rb"].invoke end namespace :tutorials do - desc 'Scrape JS-Tutorials' + desc 'Generate JS-Tutorials' task :js, [:num, :force] do |t, args| - job = Scrape::TutorialsJob::Javascript.new(num: args[:num], force: args[:force]) + job = Generate::TutorialsJob::Javascript.new(num: args[:num], force: args[:force]) count = job.perform puts "Tutorials added or changed: #{count}" end - desc 'Scrape PY-Tutorials' + desc 'Generate PY-Tutorials' task :py, [:num, :force] do |t, args| - job = Scrape::TutorialsJob::Python.new(num: args[:num], force: args[:force]) + job = Generate::TutorialsJob::Python.new(num: args[:num], force: args[:force]) count = job.perform puts "Tutorials added or changed: #{count}" end - desc 'Scrape RB-Tutorials' + desc 'Generate RB-Tutorials' task :rb, [:num, :force] do |t, args| - job = Scrape::TutorialsJob::Ruby.new(num: args[:num], force: args[:force]) + job = Generate::TutorialsJob::Ruby.new(num: args[:num], force: args[:force]) count = job.perform puts "Tutorials added or changed: #{count}" diff --git a/_tutorials-javascript/account_reputation.md b/_tutorials-javascript/account_reputation.md index 3f9bc20e..e5d35a9f 100644 --- a/_tutorials-javascript/account_reputation.md +++ b/_tutorials-javascript/account_reputation.md @@ -4,7 +4,7 @@ position: 20 description: "_Learn how to interpret account reputation._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Account Reputation](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/20_account_reputation) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Account Reputation](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/20_account_reputation) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -104,8 +104,8 @@ That's it! ### To run this tutorial -1. clone this repo -1. `cd tutorials/20_account_reputation` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/20_account_reputation` 1. `npm i` 1. `npm i` 1. `npm run dev-server` or `npm run start` diff --git a/_tutorials-javascript/blog_feed.md b/_tutorials-javascript/blog_feed.md index e926323a..912dd5a5 100644 --- a/_tutorials-javascript/blog_feed.md +++ b/_tutorials-javascript/blog_feed.md @@ -4,7 +4,7 @@ position: 1 description: "_By the end of this tutorial you should know how to fetch most recent five posts from particular user on Steem._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Blog Feed](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/01_blog_feed) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Blog Feed](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/01_blog_feed) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -152,8 +152,8 @@ That's all there is to it. ### To Run the tutorial -1. clone this repo -1. `cd tutorials/01_blog_feed` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/01_blog_feed` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/claim_rewards.md b/_tutorials-javascript/claim_rewards.md index 16680ade..6645ce6c 100644 --- a/_tutorials-javascript/claim_rewards.md +++ b/_tutorials-javascript/claim_rewards.md @@ -4,7 +4,7 @@ position: 23 description: "_Learn how to claim rewards from unclaimed reward balance using Steemconnect as well as client signing method._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Claim Rewards](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/23_claim_rewards) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Claim Rewards](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/23_claim_rewards) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -105,8 +105,8 @@ That's it! ### To run this tutorial -1. clone this repo -1. `cd tutorials/21_claim_rewards` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/21_claim_rewards` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/client_signing.md b/_tutorials-javascript/client_signing.md index fea7a4da..9dfa005e 100644 --- a/_tutorials-javascript/client_signing.md +++ b/_tutorials-javascript/client_signing.md @@ -4,7 +4,7 @@ position: 3 description: "_By the end of this tutorial you would know how to sign, verify broadcast transactions locally on Steem._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Client Signing](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/03_client_signing) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Client Signing](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/03_client_signing) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -36,7 +36,7 @@ Testnet and Production networks only differ with few settings which helps develo ```javascript opts.addressPrefix = 'TST'; opts.chainId = - 'd043ab83d223f25f37e1876fe48a240d49d8e4b1daa2342064990a8036a8bb5b'; + '46d82ab7d8db682eb1959aed0ada039a6d49afa1602491f93dde9cac3e8e6c32'; //connect to server which is connected to the network/testnet const client = new dsteem.Client('https://testnet.steemitdev.com', opts); ``` @@ -47,7 +47,7 @@ const client = new dsteem.Client('https://testnet.steemitdev.com', opts); To test connection as well as to get parameters of the connected network, we can use `getDynamicGlobalProperties` function from **dsteem** library. Only 2 fields are in our interesting for this tutorial, `head_block_number` - returns head or latest block number of the network, `head_block_id` - returns id of head block. - + #### 3. Account selection<a name="account-selection"></a> @@ -116,8 +116,8 @@ That's it! ### To Run the tutorial -1. clone this repo -1. `cd tutorials/03_client_signing` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/03_client_signing` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/convert_sbd_to_steem.md b/_tutorials-javascript/convert_sbd_to_steem.md index c23a7883..4a96bbeb 100644 --- a/_tutorials-javascript/convert_sbd_to_steem.md +++ b/_tutorials-javascript/convert_sbd_to_steem.md @@ -4,7 +4,7 @@ position: 32 description: "_How to convert SBD to STEEM for a specified account._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Convert Sbd To Steem](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/32_convert_sbd_to_steem) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Convert Sbd To Steem](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/32_convert_sbd_to_steem) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -143,10 +143,11 @@ The results of the operation is displayed on the UI along with a block number in ### To run this tutorial -1. clone this repo -1. `cd tutorials/32_convert_sbd_to_steem` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/32_convert_sbd_to_steem` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at http://localhost:3000/ + --- diff --git a/_tutorials-javascript/create_account.md b/_tutorials-javascript/create_account.md index 201e0e0c..37afcb54 100644 --- a/_tutorials-javascript/create_account.md +++ b/_tutorials-javascript/create_account.md @@ -4,7 +4,7 @@ position: 26 description: "_Create Steem account using Steemconnect as well as with client-side signing._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Create Account](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/26_create_account) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Create Account](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/26_create_account) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -197,8 +197,8 @@ That's it! ### To run this tutorial -1. clone this repo -1. `cd tutorials/26_create_account` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/26_create_account` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/delegate_power.md b/_tutorials-javascript/delegate_power.md index ba95cbd5..c19982df 100644 --- a/_tutorials-javascript/delegate_power.md +++ b/_tutorials-javascript/delegate_power.md @@ -4,7 +4,7 @@ position: 27 description: "_Delegate power to other users using Steemconnect or Client-side signing._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Delegate Power](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/27_delegate_power) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Delegate Power](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/27_delegate_power) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -106,8 +106,8 @@ That's it! ### To run this tutorial -1. clone this repo -1. `cd tutorials/25_delegate_power` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/25_delegate_power` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/edit_content_patching.md b/_tutorials-javascript/edit_content_patching.md index 3137b3ec..d5f814fa 100644 --- a/_tutorials-javascript/edit_content_patching.md +++ b/_tutorials-javascript/edit_content_patching.md @@ -4,7 +4,7 @@ position: 12 description: "_By the end of this tutorial you should know how to patch post edits to Steem._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Edit Content Patching](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/12_edit_content_patching) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Edit Content Patching](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/12_edit_content_patching) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -176,8 +176,8 @@ After the post has been broadcasted to the network, we can simply set all the fi ### To Run the tutorial -1. clone this repo -1. `cd tutorials/12_edit_content_patching` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/12_edit_content_patching` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at http://localhost:3000/ diff --git a/_tutorials-javascript/follow_a_user.md b/_tutorials-javascript/follow_a_user.md index 42c65d1f..debfdb52 100644 --- a/_tutorials-javascript/follow_a_user.md +++ b/_tutorials-javascript/follow_a_user.md @@ -4,7 +4,7 @@ position: 18 description: "_Follow and unfollow a user / author._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Follow A User](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/18_follow_a_user) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Follow A User](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/18_follow_a_user) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -153,8 +153,8 @@ If either of the values for the user or author does not exist the proper error r ### To run this tutorial -1. clone this repo -1. `cd tutorials/18_follow_user` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/18_follow_user` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/get_account_comments.md b/_tutorials-javascript/get_account_comments.md index 87b2a530..5ed51650 100644 --- a/_tutorials-javascript/get_account_comments.md +++ b/_tutorials-javascript/get_account_comments.md @@ -4,7 +4,7 @@ position: 9 description: "_By the end of this tutorial you should know how to retrieve account comments from the steem blockchain_" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Account Comments](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/09_get_account_comments) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Account Comments](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/09_get_account_comments) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -272,8 +272,8 @@ Each line is then pushed and displayed separately. ### To Run the tutorial -1. clone this repo -1. `cd tutorials/09_get_account_comments` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/09_get_account_comments` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/get_account_replies.md b/_tutorials-javascript/get_account_replies.md index 568ccf53..166e3487 100644 --- a/_tutorials-javascript/get_account_replies.md +++ b/_tutorials-javascript/get_account_replies.md @@ -4,7 +4,7 @@ position: 8 description: "_By the end of this tutorial you would know how to get replies made on particular account's content._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Account Replies](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/08_get_account_replies) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Account Replies](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/08_get_account_replies) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -266,8 +266,8 @@ We check if `content` is not an empty object and we iterate through each object ### To Run the tutorial -1. clone this repo -1. `cd tutorials/08_get_account_replies` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/08_get_account_replies` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/get_delegations_by_user.md b/_tutorials-javascript/get_delegations_by_user.md index e74826cd..9e210350 100644 --- a/_tutorials-javascript/get_delegations_by_user.md +++ b/_tutorials-javascript/get_delegations_by_user.md @@ -4,7 +4,7 @@ position: 29 description: "_View the vesting delegations made by a user as well as the delegations that are expiring._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Delegations By User](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/29_get_delegations_by_user) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Delegations By User](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/29_get_delegations_by_user) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -155,8 +155,8 @@ delegationdata.forEach(newObj => { ### To run this tutorial -1. clone this repo -2. `cd tutorials/27_get_delegations_by_user` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-js/tutorials/27_get_delegations_by_user` 3. `npm i` 4. `npm run dev-server` or `npm run start` 5. After a few moments, the server should be running at http://localhost:3000/ diff --git a/_tutorials-javascript/get_follower_and_following_list.md b/_tutorials-javascript/get_follower_and_following_list.md index 38716401..f1cca083 100644 --- a/_tutorials-javascript/get_follower_and_following_list.md +++ b/_tutorials-javascript/get_follower_and_following_list.md @@ -4,7 +4,7 @@ position: 19 description: "_Get the followers of a user/author & the authors that user is following._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Follower And Following List](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/19_get_follower_and_following_list) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Follower And Following List](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/19_get_follower_and_following_list) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -115,8 +115,8 @@ followlist.forEach(newObj => { ### To run this tutorial -1. clone this repo -2. `cd tutorials/19_get_follower_and_following_list` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-js/tutorials/19_get_follower_and_following_list` 3. `npm i` 4. `npm run dev-server` or `npm run start` 5. After a few moments, the server should be running at http://localhost:3000/ diff --git a/_tutorials-javascript/get_post_comments.md b/_tutorials-javascript/get_post_comments.md index 71173524..83c1ec00 100644 --- a/_tutorials-javascript/get_post_comments.md +++ b/_tutorials-javascript/get_post_comments.md @@ -4,7 +4,7 @@ position: 7 description: "_By the end of this tutorial you would know how to get comments made by others on any post._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Post Comments](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/07_get_post_comments) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Post Comments](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/07_get_post_comments) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -146,8 +146,8 @@ From this result, you have access to comments made on selected post. ### To Run the tutorial -1. clone this repo -1. `cd tutorials/07_get_post_comments` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/07_get_post_comments` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/get_post_details.md b/_tutorials-javascript/get_post_details.md index 564fe574..4c630449 100644 --- a/_tutorials-javascript/get_post_details.md +++ b/_tutorials-javascript/get_post_details.md @@ -4,7 +4,7 @@ position: 5 description: "_By the end of this tutorial you would know how to get post details and use them appropriately._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Post Details](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/05_get_post_details) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Post Details](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/05_get_post_details) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -187,8 +187,8 @@ That's it! ### To Run the tutorial -1. clone this repo -1. `cd tutorials/05_get_post_details` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/05_get_post_details` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/get_posts.md b/_tutorials-javascript/get_posts.md index 3b43c153..1f1a9c7f 100644 --- a/_tutorials-javascript/get_posts.md +++ b/_tutorials-javascript/get_posts.md @@ -4,7 +4,7 @@ position: 4 description: "Query for the most recent posts having a specific tag, using a Steem filter" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Posts](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/04_get_posts) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Posts](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/04_get_posts) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -49,7 +49,7 @@ There are three input components to the UI. * Get Posts: It's a button. You click it, and we move on to assembling our post. `<button class="btn btn-primary" onclick="getPosts()">Get Posts</button>` - + #### 2. Construct query <a name="Construct-query"></a> @@ -187,8 +187,8 @@ The result returned from the service is a `JSON` list. This is an example list w ### To Run the tutorial -1. clone this repo -1. `cd tutorials/04_get_posts` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/04_get_posts` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/get_state_replacement_api.md b/_tutorials-javascript/get_state_replacement_api.md index d881f2b2..ebb717c5 100644 --- a/_tutorials-javascript/get_state_replacement_api.md +++ b/_tutorials-javascript/get_state_replacement_api.md @@ -4,7 +4,7 @@ position: 34 description: "This is a list of replacement API calls for each of the different _routes_ available from the `getState` function." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get State Replacement Api](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/34_get_state_replacement_api) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get State Replacement Api](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/34_get_state_replacement_api) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -491,8 +491,8 @@ This detailed information can be used to track the performance of a specific wit ### To run this tutorial -1. clone this repo -1. `cd tutorials/34_get_state_replacement_api` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/34_get_state_replacement_api` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at http://localhost:3000/ diff --git a/_tutorials-javascript/get_voters_list_on_post.md b/_tutorials-javascript/get_voters_list_on_post.md index 0daa7a4c..e243e1c4 100644 --- a/_tutorials-javascript/get_voters_list_on_post.md +++ b/_tutorials-javascript/get_voters_list_on_post.md @@ -4,7 +4,7 @@ position: 6 description: "_By the end of this tutorial you would know how to get voters list on any content._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Voters List On Post](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/06_get_voters_list_on_post) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Voters List On Post](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/06_get_voters_list_on_post) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -102,8 +102,8 @@ From this result, you have access to everything associated with the selected pos ### To Run the tutorial -1. clone this repo -1. `cd tutorials/06_get_voters_list_on_post` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/06_get_voters_list_on_post` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/getting_started.md b/_tutorials-javascript/getting_started.md index a6f09ad8..52d1aae0 100644 --- a/_tutorials-javascript/getting_started.md +++ b/_tutorials-javascript/getting_started.md @@ -4,7 +4,7 @@ position: 0 description: "Prepare your development environment to use Javascript with the Steem blockchain." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Getting Started](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/00_getting_started) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Getting Started](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/00_getting_started) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -18,7 +18,7 @@ You can still learn a lot of these if they aren't in your base skill-set; it'll ### Your Dev Environment -These tutorials require [Node.js 8.9+](https://nodejs.org/en/download/). [Yarn](https://yarnpkg.com/en/) is nice, but not required. Runnable versions of the tutorials are located [in this github repo](https://github.com/steemit/devportal-tutorials-js). +These tutorials require [Node.js 8.7+](https://nodejs.org/en/download/). [Yarn](https://yarnpkg.com/en/) is nice, but not required. Runnable versions of the tutorials are located [in this github repo](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/devportal-tutorials-js). If you haven't chosen an editor, you can use [Atom](https://atom.io/), [Sublime](https://www.sublimetext.com/), [Intellij](https://www.jetbrains.com/idea/), [Vi](https://en.wikipedia.org/wiki/Vi), etc. If you want to keep multiple versions of Node on your system try [Node Version Manager](https://github.com/creationix/nvm). @@ -27,17 +27,17 @@ If you want to keep multiple versions of Node on your system try [Node Version M Let's say you wanted to run the very [first tutorial](blog_feed), `01_blog_feed`. Here's how you'd do it: -1. From Bash: +From Bash: - ```bash - git clone https://github.com/steemit/devportal-tutorials-js.git +```bash +git clone https://gitlab.syncad.com/hive/devportal.git - cd devportal-tutorials-js/tutorials/01_blog_feed - npm i - npm run dev-server - ``` +cd devportal/tutorials/devportal-tutorials-js/tutorials/01_blog_feed +npm i +npm run dev-server +``` -1. open http://localhost:3000/ in your web browser +Then open http://localhost:3000/ in your web browser: ``` ### Github diff --git a/_tutorials-javascript/grant_active_permission.md b/_tutorials-javascript/grant_active_permission.md index be2af9fc..b3b91e17 100644 --- a/_tutorials-javascript/grant_active_permission.md +++ b/_tutorials-javascript/grant_active_permission.md @@ -4,7 +4,7 @@ position: 31 description: "_How to grant and revoke active permission to another user._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Grant Active Permission](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/31_grant_active_permission) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Grant Active Permission](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/31_grant_active_permission) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -179,10 +179,11 @@ This is similar to the steemconnect links that have been covered in previous tut ### To run this tutorial -1. clone this repo -1. `cd tutorials/31_grant_active_permission` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/31_grant_active_permission` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at http://localhost:3000/ + --- diff --git a/_tutorials-javascript/grant_posting_permission.md b/_tutorials-javascript/grant_posting_permission.md index 6af07d7c..884dc11b 100644 --- a/_tutorials-javascript/grant_posting_permission.md +++ b/_tutorials-javascript/grant_posting_permission.md @@ -4,7 +4,7 @@ position: 30 description: "_How to grant and revoke posting permission to another user._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Grant Posting Permission](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/30_grant_posting_permission) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Grant Posting Permission](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/30_grant_posting_permission) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -168,8 +168,8 @@ This is similar to the steemconnect links that have been covered in previous tut ### To run this tutorial -1. clone this repo -2. `cd tutorials/28_grant_posting_permission` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-js/tutorials/28_grant_posting_permission` 3. `npm i` 4. `npm run dev-server` or `npm run start` 5. After a few moments, the server should be running at http://localhost:3000/ diff --git a/_tutorials-javascript/power_down.md b/_tutorials-javascript/power_down.md index 97cede10..285cad64 100644 --- a/_tutorials-javascript/power_down.md +++ b/_tutorials-javascript/power_down.md @@ -4,7 +4,7 @@ position: 25 description: "_Perform a power down on all or part of an account's VESTS using either Steemconnect or client-side signing._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Power Down](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/25_power_down) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Power Down](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/25_power_down) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -114,8 +114,8 @@ That's it! ### To run this tutorial -1. `git clone https://github.com/steemit/devportal-tutorials-js.git` -1. `cd devportal-tutorials-js/tutorials/23_power_down` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/25_power_down` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/power_up_steem.md b/_tutorials-javascript/power_up_steem.md index e8ccff3d..4c679e1e 100644 --- a/_tutorials-javascript/power_up_steem.md +++ b/_tutorials-javascript/power_up_steem.md @@ -4,7 +4,7 @@ position: 24 description: "_Power up an account's Steem using either Steemconnect or a client-side signing._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Power Up Steem](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/24_power_up_steem) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Power Up Steem](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/24_power_up_steem) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -100,8 +100,8 @@ That's it! ### To run this tutorial -1. clone this repo -1. `cd tutorials/22_power_up_steem` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/22_power_up_steem` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/reblogging_post.md b/_tutorials-javascript/reblogging_post.md index 1251286c..3e794b51 100644 --- a/_tutorials-javascript/reblogging_post.md +++ b/_tutorials-javascript/reblogging_post.md @@ -4,7 +4,7 @@ position: 14 description: "_By the end of this tutorial you should know how to reblog (resteem) a blog from steem_" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Reblogging Post](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/14_reblogging_post) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Reblogging Post](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/14_reblogging_post) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -137,8 +137,8 @@ It should be noted that reblogging a post does not create a new post on the bloc ## To run this tutorial -1. clone this repo -2. `cd tutorials/14_reblogging_post` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-js/tutorials/14_reblogging_post` 3. `npm i` 4. `npm run dev-server` or `npm run start` 5. After a few moments, the server should be running at http://localhost:3000/ diff --git a/_tutorials-javascript/search_accounts.md b/_tutorials-javascript/search_accounts.md index 6b45a600..73a651cf 100644 --- a/_tutorials-javascript/search_accounts.md +++ b/_tutorials-javascript/search_accounts.md @@ -4,7 +4,7 @@ position: 15 description: "_By the end of this tutorial you should know how to call a list of user names from the steem blockchain_" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Search Accounts](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/15_search_accounts) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Search Accounts](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/15_search_accounts) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -73,8 +73,8 @@ document.getElementById('accList').innerHTML = _accounts.join('<br>'); ## To run this tutorial -1. clone this repo -2. `cd tutorials/15_search_accounts` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-js/tutorials/15_search_accounts` 3. `npm i` 4. `npm run dev-server` or `npm run start` 5. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/search_tags.md b/_tutorials-javascript/search_tags.md index 30752553..6956790e 100644 --- a/_tutorials-javascript/search_tags.md +++ b/_tutorials-javascript/search_tags.md @@ -4,7 +4,7 @@ position: 16 description: "_By the end of this tutorial you should know how to run a search for trending tags_" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Search Tags](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/16_search_tags) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Search Tags](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/16_search_tags) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -77,8 +77,8 @@ document.getElementById('tagList').innerHTML = posts.join('<br>'); ### To run this tutorial -1. clone this repo -1. `cd tutorials/16_search_tags` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/16_search_tags` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at http://localhost:3000/ diff --git a/_tutorials-javascript/set_withdraw_route.md b/_tutorials-javascript/set_withdraw_route.md index b1e25bb1..fa125a36 100644 --- a/_tutorials-javascript/set_withdraw_route.md +++ b/_tutorials-javascript/set_withdraw_route.md @@ -4,7 +4,7 @@ position: 28 description: "_Set routes to an account's power downs or withdraws._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Set Withdraw Route](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/28_set_withdraw_route) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Set Withdraw Route](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/28_set_withdraw_route) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -120,8 +120,8 @@ That's it! ### To run this tutorial -1. clone this repo -1. `cd tutorials/26_set_withdraw_route` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/26_set_withdraw_route` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/steemconnect.md b/_tutorials-javascript/steemconnect.md index 613e869b..258f995e 100644 --- a/_tutorials-javascript/steemconnect.md +++ b/_tutorials-javascript/steemconnect.md @@ -4,7 +4,7 @@ position: 2 description: "_Understand the basics of using Steemconnect with your Steem application._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Steemconnect](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/02_steemconnect) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Steemconnect](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/02_steemconnect) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -47,27 +47,27 @@ Here are the steps that helps you to setup new app: 1a. Visit [Steemconnect Dashboard](https://steemconnect.com/dashboard) and login with your Steem credentials - + 1b. You will see Applications and Developers section, in Developers section click on `My Apps` - + - + 1c. Create New App using Steemconnect, which will help you create new Steem account for your application. Let's call it `demo-app` for this tutorial purpose. - + Account creation fee will be deducted from your balance, make sure you have enough funds to complete account creation. Next step is to login with account which has enough balance to pay for account creation fee. - + 1d. Give your app name, description, icon image link, website (if available) and Redirect URI(s) - + Application name and description should give users clear understanding what permissions it requires and what is the purpose of the app. @@ -117,8 +117,8 @@ Now that `sc2-sdk` is initialized we can start authentication and perform simple ### To Run the tutorial -1. clone this repo -1. `cd tutorials/02_steemconnect` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/02_steemconnect` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/stream_blockchain_transactions.md b/_tutorials-javascript/stream_blockchain_transactions.md index 843e7f7b..cac71130 100644 --- a/_tutorials-javascript/stream_blockchain_transactions.md +++ b/_tutorials-javascript/stream_blockchain_transactions.md @@ -4,7 +4,7 @@ position: 13 description: "_By the end of this tutorial you should know how to stream transactions and blocks from Steem blockchain._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Stream Blockchain Transactions](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/13_stream_blockchain_transactions) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Stream Blockchain Transactions](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/13_stream_blockchain_transactions) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -125,8 +125,8 @@ That's it! ### To Run the tutorial -1. clone this repo -1. `cd tutorials/13_stream_blockchain_transactions` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/13_stream_blockchain_transactions` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/submit_comment_reply.md b/_tutorials-javascript/submit_comment_reply.md index ae937d1c..97d89052 100644 --- a/_tutorials-javascript/submit_comment_reply.md +++ b/_tutorials-javascript/submit_comment_reply.md @@ -4,7 +4,7 @@ position: 11 description: "_By the end of this tutorial you should know how to post a simple comment to Steem._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Submit Comment Reply](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/11_submit_comment_reply) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Submit Comment Reply](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/11_submit_comment_reply) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -58,7 +58,7 @@ In this case. `dsf0yxlox2d` will be our parent permlink and `@demo` will be the #### 3. Add content<a name="add-content"></a> We've added the parent post info and `Some amazing content` in our UI via the keyboard. - + #### 4. Get Comment Data<a name="get-comment"></a> @@ -133,7 +133,7 @@ client.broadcast.comment(comment, privateKey).then( ``` A successful comment will output something like the following to the console: - + That's all there is to it. @@ -141,8 +141,8 @@ The `broadcast` operation has more to offer than just committing a post/comment ### To Run the tutorial -1. clone this repo -1. `cd tutorials/11_submit_comment_reply` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/11_submit_comment_reply` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at http://localhost:3000/ diff --git a/_tutorials-javascript/submit_post.md b/_tutorials-javascript/submit_post.md index f80fbdbc..70d0464e 100644 --- a/_tutorials-javascript/submit_post.md +++ b/_tutorials-javascript/submit_post.md @@ -4,7 +4,7 @@ position: 10 description: "_By the end of this tutorial you should know how to prepare comments for Steem and then submit using the broadcast.comment function._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Submit Post](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/10_submit_post) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Submit Post](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/10_submit_post) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -112,8 +112,8 @@ The `broadcast` operation has more to offer than just committing a post/comment ### To Run the tutorial -1. clone this repo -1. `cd tutorials/10_submit_post` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/10_submit_post` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/transfer_steem_and_sbd.md b/_tutorials-javascript/transfer_steem_and_sbd.md index a7ec536b..e34c27a0 100644 --- a/_tutorials-javascript/transfer_steem_and_sbd.md +++ b/_tutorials-javascript/transfer_steem_and_sbd.md @@ -4,7 +4,7 @@ position: 21 description: "_Transfer both STEEM and SBD from one account to another._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Transfer Steem And Sbd](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/21_transfer_steem_and_sbd) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Transfer Steem And Sbd](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/21_transfer_steem_and_sbd) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -122,8 +122,8 @@ client.broadcast.transfer(transf, privateKey).then( ### To run this tutorial -1. clone this repo -2. `cd tutorials/20_transfer_STEEM_and_SBD` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-js/tutorials/20_transfer_STEEM_and_SBD` 3. `npm i` 4. `npm run dev-server` or `npm run start` 5. After a few moments, the server should be running at http://localhost:3000/ diff --git a/_tutorials-javascript/vote_on_content.md b/_tutorials-javascript/vote_on_content.md index 6c24489d..02caff33 100644 --- a/_tutorials-javascript/vote_on_content.md +++ b/_tutorials-javascript/vote_on_content.md @@ -4,7 +4,7 @@ position: 17 description: "_Create a weighted up or down vote on a comment/post._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Vote On Content](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/17_vote_on_content) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Vote On Content](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/17_vote_on_content) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -219,8 +219,8 @@ More information on how to use the `broadcast` operation and options surrounding ### To run this tutorial -1. clone this repo -1. `cd tutorials/17_vote_on_content` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/17_vote_on_content` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-javascript/witness_listing_and_voting.md b/_tutorials-javascript/witness_listing_and_voting.md index 4cba18ea..6c5cefbc 100644 --- a/_tutorials-javascript/witness_listing_and_voting.md +++ b/_tutorials-javascript/witness_listing_and_voting.md @@ -4,7 +4,7 @@ position: 22 description: "_Create a list of available witnesses as well as vote for and remove your vote for a witness._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Witness Listing And Voting](https://github.com/steemit/devportal-tutorials-js/tree/master/tutorials/22_witness_listing_and_voting) can be downloaded as part of the [JS tutorials repository](https://github.com/steemit/devportal-tutorials-js).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Witness Listing And Voting](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js/tutorials/22_witness_listing_and_voting) can be downloaded as part of: [tutorials/devportal-tutorials-js](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-js).</span> <br> @@ -183,8 +183,8 @@ The option buttons (continue with voting process or stop) are disabled at the en ### To run this tutorial -1. clone this repo -1. `cd tutorials/22_witness_listing_and_voting` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/22_witness_listing_and_voting` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/_tutorials-python/account_recovery.md b/_tutorials-python/account_recovery.md index dbe82be0..24872cb4 100644 --- a/_tutorials-python/account_recovery.md +++ b/_tutorials-python/account_recovery.md @@ -4,7 +4,7 @@ position: 35 description: "How to recover an account using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Account Recovery](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/35_account_recovery) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Account Recovery](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/35_account_recovery) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -228,8 +228,8 @@ And that's it! ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/35_account_recovery` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/35_account_recovery` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/_tutorials-python/account_reputation.md b/_tutorials-python/account_reputation.md index 6e903740..294cbd4e 100644 --- a/_tutorials-python/account_reputation.md +++ b/_tutorials-python/account_reputation.md @@ -4,7 +4,7 @@ position: 20 description: "Would you like to know how to interpret account reputation to more human readable format, then this tutorial is for you." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Account Reputation](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/20_account_reputation) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Account Reputation](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/20_account_reputation) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -102,10 +102,11 @@ That's it. We have successfully interpreted reputation. ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/20_account_reputation` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/20_account_reputation` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. + --- diff --git a/_tutorials-python/claim_rewards.md b/_tutorials-python/claim_rewards.md index f0fb1b86..cedf7fe6 100644 --- a/_tutorials-python/claim_rewards.md +++ b/_tutorials-python/claim_rewards.md @@ -4,7 +4,7 @@ position: 23 description: "How to claim rewards using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Claim Rewards](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/23_claim_rewards) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Claim Rewards](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/23_claim_rewards) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -163,8 +163,8 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/23_claim_rewards` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/23_claim_rewards` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/_tutorials-python/convert_sbd_to_steem.md b/_tutorials-python/convert_sbd_to_steem.md index 7f8b4fab..b77c25a6 100644 --- a/_tutorials-python/convert_sbd_to_steem.md +++ b/_tutorials-python/convert_sbd_to_steem.md @@ -4,7 +4,7 @@ position: 32 description: "How to convert your SBD to STEEM using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Convert Sbd To Steem](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/32_convert_sbd_to_steem) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Convert Sbd To Steem](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/32_convert_sbd_to_steem) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -121,10 +121,11 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/00_getting_started#dev-requirements) -1. clone this repo -1. `cd tutorials/32_convert_sbd_to_steem` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/32_convert_sbd_to_steem` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. +1. After a few moments, you should see a prompt for input in terminal screen.devportal-tutorials-py/tutorials/ + --- diff --git a/_tutorials-python/delegate_power.md b/_tutorials-python/delegate_power.md index f0c6f3ca..e64dea56 100644 --- a/_tutorials-python/delegate_power.md +++ b/_tutorials-python/delegate_power.md @@ -4,7 +4,7 @@ position: 27 description: "How to delegate or remove delegation of STEEM POWER to another user using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Delegate Power](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/27_delegate_power) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Delegate Power](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/27_delegate_power) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -136,10 +136,11 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/27_delegate_power` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/27_delegate_power` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-python/edit_content_patching.md b/_tutorials-python/edit_content_patching.md index ca836544..8843681c 100644 --- a/_tutorials-python/edit_content_patching.md +++ b/_tutorials-python/edit_content_patching.md @@ -4,7 +4,7 @@ position: 12 description: "How to edit post content with diff_match_patch using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Edit Content Patching](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/12_edit_content_patching) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Edit Content Patching](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/12_edit_content_patching) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -146,10 +146,11 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/12_edit_content_patching` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/12_edit_content_patching` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-python/follow_a_user.md b/_tutorials-python/follow_a_user.md index 02a03969..456b5e63 100644 --- a/_tutorials-python/follow_a_user.md +++ b/_tutorials-python/follow_a_user.md @@ -4,7 +4,7 @@ position: 18 description: "How to follow or unfollow an author using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Follow A User](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/18_follow_a_user) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Follow A User](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/18_follow_a_user) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -127,8 +127,8 @@ You can also check on the [testportal](http://condenser.steem.vc/blog/@cdemo) fo ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/18_follow_a_user` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/18_follow_a_user` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/_tutorials-python/get_account_comments.md b/_tutorials-python/get_account_comments.md index 48e98787..852e7797 100644 --- a/_tutorials-python/get_account_comments.md +++ b/_tutorials-python/get_account_comments.md @@ -4,7 +4,7 @@ position: 9 description: "Fetch list of comments made by account on posts or comments." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Account Comments](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/09_get_account_comments) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Account Comments](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/09_get_account_comments) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -203,12 +203,11 @@ That's it! ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/09_get_account_comments` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/09_get_account_comments` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - --- diff --git a/_tutorials-python/get_account_replies.md b/_tutorials-python/get_account_replies.md index 9839cc78..f45a2b91 100644 --- a/_tutorials-python/get_account_replies.md +++ b/_tutorials-python/get_account_replies.md @@ -4,7 +4,7 @@ position: 8 description: "List of replies received by account to its content, post, comment." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Account Replies](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/08_get_account_replies) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Account Replies](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/08_get_account_replies) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -91,10 +91,11 @@ Next, we will print the details obtained from the function. Because we only want ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/08_get_account_replies` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/08_get_account_replies` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. + --- diff --git a/_tutorials-python/get_delegations_by_user.md b/_tutorials-python/get_delegations_by_user.md index 89d02667..f92f9d92 100644 --- a/_tutorials-python/get_delegations_by_user.md +++ b/_tutorials-python/get_delegations_by_user.md @@ -4,7 +4,7 @@ position: 29 description: "How to get a list of active or expiring vesting delegations using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Delegations By User](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/29_get_delegations_by_user) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Delegations By User](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/29_get_delegations_by_user) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -105,10 +105,11 @@ That's it! ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/29_get_delegations_by_user` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/29_get_delegations_by_user` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-python/get_follower_and_following_list.md b/_tutorials-python/get_follower_and_following_list.md index 02b342e1..17d1add8 100644 --- a/_tutorials-python/get_follower_and_following_list.md +++ b/_tutorials-python/get_follower_and_following_list.md @@ -4,7 +4,7 @@ position: 19 description: "Tutorial pulls a list of the followers or authors being followed from the blockchain then displays the result." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Follower And Following List](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/19_get_follower_and_following_list) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Follower And Following List](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/19_get_follower_and_following_list) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -117,8 +117,8 @@ This is a fairly simple example of how to use these functions but we encourage y ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/19_get_follower_and_following_list` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/19_get_follower_and_following_list` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. diff --git a/_tutorials-python/get_post_comments.md b/_tutorials-python/get_post_comments.md index 1d2c3f56..dd626135 100644 --- a/_tutorials-python/get_post_comments.md +++ b/_tutorials-python/get_post_comments.md @@ -4,7 +4,7 @@ position: 7 description: "Fetch comments made on each content or post using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Post Comments](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/07_get_post_comments) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Post Comments](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/07_get_post_comments) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -187,12 +187,11 @@ That's it! ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/07_get_post_comments` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/07_get_post_comments` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - --- diff --git a/_tutorials-python/get_post_details.md b/_tutorials-python/get_post_details.md index 38e8c66e..0f80a85a 100644 --- a/_tutorials-python/get_post_details.md +++ b/_tutorials-python/get_post_details.md @@ -4,7 +4,7 @@ position: 5 description: "Get post details from list of posts from the blockchain with `created` filter and tag then display selected post details." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Post Details](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/05_get_post_details) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Post Details](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/05_get_post_details) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -159,12 +159,11 @@ That's it! ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/05_get_post_details` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/05_get_post_details` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - --- diff --git a/_tutorials-python/get_posts.md b/_tutorials-python/get_posts.md index dd9e373b..808a3755 100644 --- a/_tutorials-python/get_posts.md +++ b/_tutorials-python/get_posts.md @@ -4,7 +4,7 @@ position: 4 description: "Tutorial pulls a list of the posts from the blockchain with selected filter and tag then displays output." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Posts](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/04_get_posts) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Posts](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/04_get_posts) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -168,12 +168,11 @@ That's it! ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/04_get_posts` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/04_get_posts` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - --- diff --git a/_tutorials-python/get_voters_list_on_post.md b/_tutorials-python/get_voters_list_on_post.md index 7952695d..1fc46546 100644 --- a/_tutorials-python/get_voters_list_on_post.md +++ b/_tutorials-python/get_voters_list_on_post.md @@ -4,7 +4,7 @@ position: 6 description: "Voters list and detail of each vote on selected content." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Voters List On Post](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/06_get_voters_list_on_post) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Voters List On Post](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/06_get_voters_list_on_post) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -113,12 +113,11 @@ That's it! ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/06_get_voters_list` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/06_get_voters_list` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - --- diff --git a/_tutorials-python/getting_started.md b/_tutorials-python/getting_started.md index 7456c3b0..d6a65022 100644 --- a/_tutorials-python/getting_started.md +++ b/_tutorials-python/getting_started.md @@ -4,7 +4,7 @@ position: 0 description: "The official Steem library for Python is `steem-python`. It comes with a BIP38 encrypted wallet and a practical CLI utility called `steempy`." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Getting Started](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/00_getting_started) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Getting Started](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/00_getting_started) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> diff --git a/_tutorials-python/grant_active_permission.md b/_tutorials-python/grant_active_permission.md index 414a7c92..a6b9166c 100644 --- a/_tutorials-python/grant_active_permission.md +++ b/_tutorials-python/grant_active_permission.md @@ -4,7 +4,7 @@ position: 31 description: "How to give another user active permission on your account using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Grant Active Permission](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/31_grant_active_permission) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Grant Active Permission](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/31_grant_active_permission) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -133,10 +133,11 @@ And that's it! ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/31_grant_active_permission` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/31_grant_active_permission` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-python/grant_posting_permission.md b/_tutorials-python/grant_posting_permission.md index 1399425d..7a01a8ad 100644 --- a/_tutorials-python/grant_posting_permission.md +++ b/_tutorials-python/grant_posting_permission.md @@ -4,7 +4,7 @@ position: 30 description: "How to give another user posting permission on your account using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Grant Posting Permission](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/30_grant_posting_permission) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Grant Posting Permission](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/30_grant_posting_permission) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -127,10 +127,11 @@ And that's it! ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/30_grant_posting_permission` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/30_grant_posting_permission` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-python/password_key_change.md b/_tutorials-python/password_key_change.md index ef25cde2..01cac551 100644 --- a/_tutorials-python/password_key_change.md +++ b/_tutorials-python/password_key_change.md @@ -4,7 +4,7 @@ position: 33 description: "How to change your accounts password and keys" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Password Key Change](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/33_password_key_change) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Password Key Change](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/33_password_key_change) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -138,10 +138,11 @@ That's it! ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/33_password_key_change` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/33_password_key_change` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-python/power_down.md b/_tutorials-python/power_down.md index 0ebd13ea..5d17c9b8 100644 --- a/_tutorials-python/power_down.md +++ b/_tutorials-python/power_down.md @@ -4,7 +4,7 @@ position: 25 description: "How to power down (withdraw) your vesting shares using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Power Down](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/25_power_down) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Power Down](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/25_power_down) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -129,8 +129,8 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/25_power_down` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/25_power_down` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/_tutorials-python/power_up_steem.md b/_tutorials-python/power_up_steem.md index d65c955d..c34362d8 100644 --- a/_tutorials-python/power_up_steem.md +++ b/_tutorials-python/power_up_steem.md @@ -4,7 +4,7 @@ position: 24 description: "How to power up your STEEM to STEEM POWER using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Power Up Steem](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/24_power_up_steem) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Power Up Steem](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/24_power_up_steem) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -142,10 +142,11 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/24_power_up_steem` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/24_power_up_steem` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-python/reblogging_post.md b/_tutorials-python/reblogging_post.md index 2b5deeb5..9ec031af 100644 --- a/_tutorials-python/reblogging_post.md +++ b/_tutorials-python/reblogging_post.md @@ -4,7 +4,7 @@ position: 14 description: "We will show how to reblog or resteem post using Python, with username and posting private key." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Reblogging Post](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/14_reblogging_post) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Reblogging Post](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/14_reblogging_post) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -85,12 +85,11 @@ That's it, if transaction is successful you shouldn't see any error messages, ot ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/14_reblogging_post` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/14_reblogging_post` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - --- diff --git a/_tutorials-python/search_accounts.md b/_tutorials-python/search_accounts.md index 868c0762..7a6fe194 100644 --- a/_tutorials-python/search_accounts.md +++ b/_tutorials-python/search_accounts.md @@ -4,7 +4,7 @@ position: 15 description: "How to pull a list of the active user accounts or trending tags from the blockchain using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Search Accounts](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/15_search_accounts) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Search Accounts](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/15_search_accounts) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -94,10 +94,11 @@ That's it!. ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/15_search_accounts` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/15_search_accounts` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. + --- diff --git a/_tutorials-python/search_tags.md b/_tutorials-python/search_tags.md index e9310006..3fcb7eb3 100644 --- a/_tutorials-python/search_tags.md +++ b/_tutorials-python/search_tags.md @@ -4,7 +4,7 @@ position: 16 description: "How to pull a list of the trending tags from the blockchain using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Search Tags](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/16_search_tags) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Search Tags](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/16_search_tags) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> diff --git a/_tutorials-python/stream_blockchain_transactions.md b/_tutorials-python/stream_blockchain_transactions.md index ebeb321c..11102f28 100644 --- a/_tutorials-python/stream_blockchain_transactions.md +++ b/_tutorials-python/stream_blockchain_transactions.md @@ -4,7 +4,7 @@ position: 13 description: "How to stream transactions on the live **Steem** blockchain" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Stream Blockchain Transactions](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/13_stream_blockchain_transactions) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Stream Blockchain Transactions](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/13_stream_blockchain_transactions) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -70,10 +70,11 @@ That's it! ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/13_stream_blockchain_transactions` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/13_stream_blockchain_transactions` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-python/submit_comment_reply.md b/_tutorials-python/submit_comment_reply.md index 941c002b..6b6ffefb 100644 --- a/_tutorials-python/submit_comment_reply.md +++ b/_tutorials-python/submit_comment_reply.md @@ -4,7 +4,7 @@ position: 11 description: "How to submit a comment on a post to the Steem blockchain." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Submit Comment Reply](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/11_submit_comment_reply) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Submit Comment Reply](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/11_submit_comment_reply) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -115,10 +115,11 @@ You can also check on the [testportal](http://condenser.steem.vc/blog/@cdemo) fo ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/11_submit_comment_reply` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/11_submit_comment_reply` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-python/submit_post.md b/_tutorials-python/submit_post.md index 835f2143..5c80bc7a 100644 --- a/_tutorials-python/submit_post.md +++ b/_tutorials-python/submit_post.md @@ -4,7 +4,7 @@ position: 10 description: "How to submit post on Steem blockchain using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Submit Post](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/10_submit_post) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Submit Post](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/10_submit_post) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -109,12 +109,11 @@ You can also check on the [testportal](http://condenser.steem.vc/blog/@cdemo) fo ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -2. `cd tutorials/10_submit_post` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-py/tutorials/10_submit_post` 3. `pip install -r requirements.txt` 4. `python index.py` 5. After a few moments, you should see a prompt for input in terminal screen. - --- diff --git a/_tutorials-python/transfer_STEEM_and_SBD.md b/_tutorials-python/transfer_STEEM_and_SBD.md index e4d54d32..e393510c 100644 --- a/_tutorials-python/transfer_STEEM_and_SBD.md +++ b/_tutorials-python/transfer_STEEM_and_SBD.md @@ -4,7 +4,7 @@ position: 21 description: "How to transfer STEEM and SBD to another account using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Transfer Steem And Sbd](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/21_transfer_steem_and_sbd) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Transfer Steem And Sbd](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/21_transfer_steem_and_sbd) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -154,10 +154,11 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/21_transfer_steem_and_sbd` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/21_transfer_steem_and_sbd` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-python/transfer_steem_and_sbd_to_savings_balance.md b/_tutorials-python/transfer_steem_and_sbd_to_savings_balance.md index 5a3cb0e9..9672de9e 100644 --- a/_tutorials-python/transfer_steem_and_sbd_to_savings_balance.md +++ b/_tutorials-python/transfer_steem_and_sbd_to_savings_balance.md @@ -4,7 +4,7 @@ position: 33 description: "How to transfer STEEM and SBD to savings using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Transfer Steem And Sbd To Savings Balance](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/33_transfer_steem_and_sbd_to_savings_balance) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Transfer Steem And Sbd To Savings Balance](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/33_transfer_steem_and_sbd_to_savings_balance) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -173,10 +173,11 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/00_getting_started#dev-requirements) -1. clone this repo -1. `cd tutorials/33_transfer_steem_and_sbd_to_savings_balance` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/33_transfer_steem_and_sbd_to_savings_balance` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-python/using_keys_securely.md b/_tutorials-python/using_keys_securely.md index 12587cda..4cd3efcd 100644 --- a/_tutorials-python/using_keys_securely.md +++ b/_tutorials-python/using_keys_securely.md @@ -4,7 +4,7 @@ position: 1 description: "Learn how Steem-Python library handles transaction signing with user's key and how to securely manage your private keys." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Using Keys Securely](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/001_using_keys_securely) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Using Keys Securely](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/001_using_keys_securely) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -88,12 +88,11 @@ That's it! ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/001_using_keys_securely` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/001_using_keys_securely` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - --- diff --git a/_tutorials-python/vote_on_content.md b/_tutorials-python/vote_on_content.md index d78e8ab8..c8ccccdf 100644 --- a/_tutorials-python/vote_on_content.md +++ b/_tutorials-python/vote_on_content.md @@ -4,7 +4,7 @@ position: 17 description: "How to vote on a post/comment using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Vote On Content](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/17_vote_on_content) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Vote On Content](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/17_vote_on_content) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -129,10 +129,11 @@ A simple confirmation of the chosen action is printed on the screen. ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/17_vote_on_content` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/17_vote_on_content` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-python/witness_listing_and_voting.md b/_tutorials-python/witness_listing_and_voting.md index 29bb3593..60387564 100644 --- a/_tutorials-python/witness_listing_and_voting.md +++ b/_tutorials-python/witness_listing_and_voting.md @@ -4,7 +4,7 @@ position: 22 description: "How to vote for or remove a vote for a witness user using Python." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Witness Listing And Voting](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/22_witness_listing_and_voting) can be downloaded as part of the [PY tutorials repository](https://github.com/steemit/devportal-tutorials-py).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Witness Listing And Voting](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py/tutorials/22_witness_listing_and_voting) can be downloaded as part of: [tutorials/devportal-tutorials-py](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-py).</span> <br> @@ -144,10 +144,11 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](getting_started) -1. clone this repo -1. `cd tutorials/22_witness_listing_and_voting` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/22_witness_listing_and_voting` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. + --- diff --git a/_tutorials-ruby/blog_feed.md b/_tutorials-ruby/blog_feed.md index b4069bdc..88b0b2aa 100644 --- a/_tutorials-ruby/blog_feed.md +++ b/_tutorials-ruby/blog_feed.md @@ -4,7 +4,7 @@ position: 1 description: "This example will output blog details to the terminal for the author specified, limited to five results." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Blog Feed](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/01_blog_feed) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Blog Feed](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/01_blog_feed) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/edit_content_patching.md b/_tutorials-ruby/edit_content_patching.md index 97ca0f6f..b20db764 100644 --- a/_tutorials-ruby/edit_content_patching.md +++ b/_tutorials-ruby/edit_content_patching.md @@ -4,7 +4,7 @@ position: 12 description: "---" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Edit Content Patching](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/12_edit_content_patching) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Edit Content Patching](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/12_edit_content_patching) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> title: How to edit a Post diff --git a/_tutorials-ruby/follow_another_user.md b/_tutorials-ruby/follow_another_user.md index 0d4c618c..f4cbc788 100644 --- a/_tutorials-ruby/follow_another_user.md +++ b/_tutorials-ruby/follow_another_user.md @@ -4,7 +4,7 @@ position: 18 description: "*How to follow/unfollow another user.*" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Follow Another User](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/18_follow_another_user) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Follow Another User](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/18_follow_another_user) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/get_account_comments.md b/_tutorials-ruby/get_account_comments.md index 0e023416..13c0564f 100644 --- a/_tutorials-ruby/get_account_comments.md +++ b/_tutorials-ruby/get_account_comments.md @@ -4,7 +4,7 @@ position: 9 description: "Fetching the comments written by a particular account." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Account Comments](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/09_get_account_comments) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Account Comments](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/09_get_account_comments) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/get_account_replies.md b/_tutorials-ruby/get_account_replies.md index aa5c2ef3..a0285794 100644 --- a/_tutorials-ruby/get_account_replies.md +++ b/_tutorials-ruby/get_account_replies.md @@ -4,7 +4,7 @@ position: 8 description: "Fetching the replies written to a particular account." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Account Replies](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/08_get_account_replies) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Account Replies](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/08_get_account_replies) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/get_follower_and_following_list.md b/_tutorials-ruby/get_follower_and_following_list.md index 2b55b1cf..0e42b2ba 100644 --- a/_tutorials-ruby/get_follower_and_following_list.md +++ b/_tutorials-ruby/get_follower_and_following_list.md @@ -4,7 +4,7 @@ position: 19 description: "_How to create a list of followers and accounts that you are following._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Follower And Following List](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/19_get_follower_and_following_list) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Follower And Following List](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/19_get_follower_and_following_list) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/get_post_comments.md b/_tutorials-ruby/get_post_comments.md index 66d7b0de..f2ebda2f 100644 --- a/_tutorials-ruby/get_post_comments.md +++ b/_tutorials-ruby/get_post_comments.md @@ -4,7 +4,7 @@ position: 7 description: "This example will output the reply details and totals for the post/comment passed as an argument to the script." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Post Comments](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/07_get_post_comments) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Post Comments](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/07_get_post_comments) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/get_post_details.md b/_tutorials-ruby/get_post_details.md index b80f7e55..dc22230c 100644 --- a/_tutorials-ruby/get_post_details.md +++ b/_tutorials-ruby/get_post_details.md @@ -4,7 +4,7 @@ position: 5 description: "Understand and use the most common fields of the requested content." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Post Details](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/05_get_post_details) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Post Details](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/05_get_post_details) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/get_posts.md b/_tutorials-ruby/get_posts.md index 00d64baa..35ce72bd 100644 --- a/_tutorials-ruby/get_posts.md +++ b/_tutorials-ruby/get_posts.md @@ -4,7 +4,7 @@ position: 4 description: "This example will output posts depending on which category is provided as the arguments." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Posts](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/04_get_posts) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Posts](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/04_get_posts) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/get_voters_list_on_post.md b/_tutorials-ruby/get_voters_list_on_post.md index 41911260..d03ff6e8 100644 --- a/_tutorials-ruby/get_voters_list_on_post.md +++ b/_tutorials-ruby/get_voters_list_on_post.md @@ -4,7 +4,7 @@ position: 6 description: "This example will output the active vote totals for the post/comment passed as an argument to the script." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Voters List On Post](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/06_get_voters_list_on_post) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Get Voters List On Post](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/06_get_voters_list_on_post) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/getting_started.md b/_tutorials-ruby/getting_started.md index d9c1cf5c..f7f0eeb2 100644 --- a/_tutorials-ruby/getting_started.md +++ b/_tutorials-ruby/getting_started.md @@ -4,7 +4,7 @@ position: 0 description: "To access the Steem blockchain using Ruby, install the Radiator gem: [https://github.com/inertia186/radiator](https://github.com/inertia186/radiator). Full documentation on Radiator api methods are hosted on [rubydoc.info](http://www.rubydoc.info/gems/radiator)." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Getting Started](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/00_getting_started) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Getting Started](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/00_getting_started) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> @@ -83,7 +83,7 @@ api = Radiator::Api.new(options) ### Next Step -If you'd like to dive right into the first tutorial, have a look at: [Blog Feed](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/01_blog_feed) +If you'd like to dive right into the first tutorial, have a look at: [Blog Feed](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/devportal-tutorials-rb/tutorials/01_blog_feed) --- diff --git a/_tutorials-ruby/reblogging_post.md b/_tutorials-ruby/reblogging_post.md index 82453f08..090b1b41 100644 --- a/_tutorials-ruby/reblogging_post.md +++ b/_tutorials-ruby/reblogging_post.md @@ -4,7 +4,7 @@ position: 14 description: "To reblog ('resteem') a post, we can use a custom json operation that is handled by the follow plugin." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Reblogging Post](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/14_reblogging_post) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Reblogging Post](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/14_reblogging_post) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/search_accounts.md b/_tutorials-ruby/search_accounts.md index e35336c0..42bf5c40 100644 --- a/_tutorials-ruby/search_accounts.md +++ b/_tutorials-ruby/search_accounts.md @@ -4,7 +4,7 @@ position: 15 description: "Performing a search on account by names starting with a given input." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Search Accounts](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/15_search_accounts) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Search Accounts](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/15_search_accounts) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/search_tags.md b/_tutorials-ruby/search_tags.md index 09bcd6e0..1e84d91c 100644 --- a/_tutorials-ruby/search_tags.md +++ b/_tutorials-ruby/search_tags.md @@ -4,7 +4,7 @@ position: 16 description: "Performing a search for tags." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Search Tags](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/16_search_tags) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Search Tags](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/16_search_tags) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/stream_blockchain_transactions.md b/_tutorials-ruby/stream_blockchain_transactions.md index 1df93875..d9b6f015 100644 --- a/_tutorials-ruby/stream_blockchain_transactions.md +++ b/_tutorials-ruby/stream_blockchain_transactions.md @@ -4,7 +4,7 @@ position: 13 description: "*How to stream transactions and operations from Steem blockchain.*" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Stream Blockchain Transactions](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/13_stream_blockchain_transactions) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Stream Blockchain Transactions](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/13_stream_blockchain_transactions) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/submit_comment_reply.md b/_tutorials-ruby/submit_comment_reply.md index bb834fb3..4cda1274 100644 --- a/_tutorials-ruby/submit_comment_reply.md +++ b/_tutorials-ruby/submit_comment_reply.md @@ -4,7 +4,7 @@ position: 11 description: "_By the end of this tutorial you should know how to prepare comments for Steem and then submit using Radiator._" layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Submit Comment Reply](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/11_submit_comment_reply) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Submit Comment Reply](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/11_submit_comment_reply) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/_tutorials-ruby/submit_post.md b/_tutorials-ruby/submit_post.md index da6b8668..abea4b51 100644 --- a/_tutorials-ruby/submit_post.md +++ b/_tutorials-ruby/submit_post.md @@ -4,7 +4,7 @@ position: 10 description: "This example will broadcast a new post to the blockchain using the values provided. To create a post in `ruby`, we will use a `Radiator::Transaction` containing a `comment` operation, which is how all content is stored internally." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Submit Post](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/10_submit_post) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Submit Post](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/10_submit_post) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> @@ -13,7 +13,7 @@ A post is differentiated from a comment by whether or not a `parent_author` exis ### Script -You should change `wif` to the posting key that matches your `author`. This script will pass along the values as a [`comment` operation]({{ '/apidefinitions/broadcast-ops#broadcast_ops_comment' | relative_url }}): +You should change `wif` to the posting key that matches your `author`. This script will pass along the values as a [`comment` operation](/apidefinitions/broadcast-ops#broadcast_ops_comment): * `author` - Account name of the author currently posting. * `permlink` - Value unique to the author diff --git a/_tutorials-ruby/vote_on_content.md b/_tutorials-ruby/vote_on_content.md index 7513ed24..a18566e7 100644 --- a/_tutorials-ruby/vote_on_content.md +++ b/_tutorials-ruby/vote_on_content.md @@ -4,7 +4,7 @@ position: 17 description: "To vote for a post (or reply), we can use a vote operation and provide the voting weight (the percentage of one vote being cast)." layout: full --- -<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Vote On Content](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/17_vote_on_content) can be downloaded as part of the [RB tutorials repository](https://github.com/steemit/devportal-tutorials-rb).</span> +<span class="fa-pull-left top-of-tutorial-repo-link"><span class="first-word">Full</span>, runnable src of [Vote On Content](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb/tutorials/17_vote_on_content) can be downloaded as part of: [tutorials/devportal-tutorials-rb](https://gitlab.syncad.com/hive/devportal/-/tree/develop/tutorials/devportal-tutorials-rb).</span> <br> diff --git a/lib/scrape/tutorials_job/base.rb b/lib/generate/tutorials_job/base.rb similarity index 71% rename from lib/scrape/tutorials_job/base.rb rename to lib/generate/tutorials_job/base.rb index bc01be9f..33d5e185 100644 --- a/lib/scrape/tutorials_job/base.rb +++ b/lib/generate/tutorials_job/base.rb @@ -1,19 +1,13 @@ require 'git' -module Scrape +module Generate module TutorialsJob class Base - TMP_CHECKOUT = '/tmp/checkout' - def initialize(options = {}) @num = (options[:num] || '-1').to_i @force = options[:force] == 'true' - @tutorial_github_url = options[:tutorial_github_url] #e.g.: https://github.com/steemit/devportal-tutorials-js.git - @tutorial_github_name = options[:tutorial_github_name] # e.g.: devportal-tutorials-js - @tutorial_url = options[:tutorial_url] # e.g.: https://github.com/steemit/devportal-tutorials-js + @src_tutorials_path = options[:src_tutorials_path] # e.g.: tutorials/devportal-tutorials-js @dest_tutorials_path = options[:dest_tutorials_path] # e.g.: _tutorials-javascript - - @clone_tutorials_path = "#{TMP_CHECKOUT}/#{@tutorial_github_name}/tutorials" end # Execute the job. @@ -21,13 +15,9 @@ module Scrape # @return [Integer] total number of tutorials added or changed in this pass def perform tutorial_change_count = 0 - tutorial_title_prefix = @tutorial_github_name.split('-').last.upcase - - clean_previous_clone - - Git.clone(@tutorial_github_url, @tutorial_github_name, path: TMP_CHECKOUT) + tutorial_title_prefix = @src_tutorials_path.split('-').last.upcase - Pathname.new(@clone_tutorials_path).children.sort.each do |path| + Pathname.new(@src_tutorials_path + '/tutorials').children.sort.each do |path| next unless File.directory? path slug = include_name = path.to_s.split('/').last @@ -74,8 +64,6 @@ module Scrape tutorial_change_count += 1 end - clean_previous_clone - tutorial_change_count end private @@ -105,7 +93,7 @@ module Scrape src else src = src.split('/')[1..-1].join('/') if src.start_with? './' - "#{@tutorial_url}/blob/master/tutorials/#{include_name}/#{src}?raw=true" + "https://gitlab.syncad.com/hive/devportal/-/raw/master/#{@src_tutorials_path}/tutorials/#{include_name}/#{src}" end "" @@ -119,8 +107,8 @@ module Scrape text, href = Regexp.last_match[1..2] href = if href.include? '://' href - elsif href.include? @tutorial_url - relative_href = href.gsub(/#{@tutorial_url}\/tree\/master\/tutorials\/(\d+)_([a-z0-9_]+)/) do + elsif href.include? @src_tutorials_path + relative_href = href.gsub(/#{@src_tutorials_path}\/tree\/master\/tutorials\/(\d+)_([a-z0-9_]+)/) do num, name = Regexp.last_match[1..2] name @@ -144,11 +132,7 @@ module Scrape end def tutorial_repo_links(title, include_name, tutorial_title_prefix) - "<span class=\"fa-pull-left top-of-tutorial-repo-link\"><span class=\"first-word\">Full</span>, runnable src of [#{title}](#{@tutorial_url}/tree/master/tutorials/#{include_name}) can be downloaded as part of the [#{tutorial_title_prefix} tutorials repository](#{@tutorial_url}).</span>" - end - - def clean_previous_clone - FileUtils.rm_rf(Dir.glob("#{TMP_CHECKOUT}/*")) + "<span class=\"fa-pull-left top-of-tutorial-repo-link\"><span class=\"first-word\">Full</span>, runnable src of [#{title}](https://gitlab.syncad.com/hive/devportal/-/tree/develop/#{@src_tutorials_path}/tutorials/#{include_name}) can be downloaded as part of: [#{@src_tutorials_path}](https://gitlab.syncad.com/hive/devportal/-/tree/develop/#{@src_tutorials_path}).</span>" end end end diff --git a/lib/generate/tutorials_job/javascript.rb b/lib/generate/tutorials_job/javascript.rb new file mode 100644 index 00000000..cb071c70 --- /dev/null +++ b/lib/generate/tutorials_job/javascript.rb @@ -0,0 +1,14 @@ +require 'git' + +module Generate + module TutorialsJob + class Javascript < Base + def initialize(options = {}) + options[:src_tutorials_path] = 'tutorials/devportal-tutorials-js' + options[:dest_tutorials_path] ||= '_tutorials-javascript' + + super + end + end + end +end diff --git a/lib/generate/tutorials_job/python.rb b/lib/generate/tutorials_job/python.rb new file mode 100644 index 00000000..131464d6 --- /dev/null +++ b/lib/generate/tutorials_job/python.rb @@ -0,0 +1,14 @@ +require 'git' + +module Generate + module TutorialsJob + class Python < Base + def initialize(options = {}) + options[:src_tutorials_path] = 'tutorials/devportal-tutorials-py' + options[:dest_tutorials_path] ||= '_tutorials-python' + + super + end + end + end +end diff --git a/lib/generate/tutorials_job/ruby.rb b/lib/generate/tutorials_job/ruby.rb new file mode 100644 index 00000000..4dcbf2d5 --- /dev/null +++ b/lib/generate/tutorials_job/ruby.rb @@ -0,0 +1,14 @@ +require 'git' + +module Generate + module TutorialsJob + class Ruby < Base + def initialize(options = {}) + options[:src_tutorials_path] = 'tutorials/devportal-tutorials-rb' + options[:dest_tutorials_path] ||= '_tutorials-ruby' + + super + end + end + end +end diff --git a/lib/scrape/tutorials_job/javascript.rb b/lib/scrape/tutorials_job/javascript.rb deleted file mode 100644 index b19693fe..00000000 --- a/lib/scrape/tutorials_job/javascript.rb +++ /dev/null @@ -1,16 +0,0 @@ -require 'git' - -module Scrape - module TutorialsJob - class Javascript < Base - def initialize(options = {}) - options[:tutorial_github_url] ||= 'https://github.com/steemit/devportal-tutorials-js.git' - options[:tutorial_github_name] ||= 'devportal-tutorials-js' - options[:tutorial_url] = 'https://github.com/steemit/devportal-tutorials-js' - options[:dest_tutorials_path] ||= '_tutorials-javascript' - - super - end - end - end -end diff --git a/lib/scrape/tutorials_job/python.rb b/lib/scrape/tutorials_job/python.rb deleted file mode 100644 index c5cbdc1c..00000000 --- a/lib/scrape/tutorials_job/python.rb +++ /dev/null @@ -1,16 +0,0 @@ -require 'git' - -module Scrape - module TutorialsJob - class Python < Base - def initialize(options = {}) - options[:tutorial_github_url] = 'https://github.com/steemit/devportal-tutorials-py.git' - options[:tutorial_github_name] ||= 'devportal-tutorials-py' - options[:tutorial_url] = 'https://github.com/steemit/devportal-tutorials-py' - options[:dest_tutorials_path] ||= '_tutorials-python' - - super - end - end - end -end diff --git a/lib/scrape/tutorials_job/ruby.rb b/lib/scrape/tutorials_job/ruby.rb deleted file mode 100644 index edb81b3f..00000000 --- a/lib/scrape/tutorials_job/ruby.rb +++ /dev/null @@ -1,16 +0,0 @@ -require 'git' - -module Scrape - module TutorialsJob - class Ruby < Base - def initialize(options = {}) - options[:tutorial_github_url] = 'https://github.com/steemit/devportal-tutorials-rb.git' - options[:tutorial_github_name] ||= 'devportal-tutorials-rb' - options[:tutorial_url] = 'https://github.com/steemit/devportal-tutorials-rb' - options[:dest_tutorials_path] ||= '_tutorials-ruby' - - super - end - end - end -end diff --git a/tutorials/devportal-tutorials-js/README.md b/tutorials/devportal-tutorials-js/README.md index 6cfabec2..38b196ac 100755 --- a/tutorials/devportal-tutorials-js/README.md +++ b/tutorials/devportal-tutorials-js/README.md @@ -46,13 +46,13 @@ The tutorials build on each other. It's suggested you go through them in-order. Use the command line/terminal for the following instructions -1. clone this repo +1. `git clone https://gitlab.syncad.com/hive/devportal.git` - `git clone git@github.com:steemit/devportal-tutorials-js.git` + `git clone https://gitlab.syncad.com/hive/devportal.git` 1. cd into the tutorial you wish to run - ex: `cd tutorials/01_blog_feed` + ex: `cd devportal/tutorials/devportal-tutorials-js/tutorials/01_blog_feed` 1. Use npm or yarn to install dependencies diff --git a/tutorials/devportal-tutorials-js/tutorials/00_getting_started/README.md b/tutorials/devportal-tutorials-js/tutorials/00_getting_started/README.md index 9a0766bb..1354de94 100755 --- a/tutorials/devportal-tutorials-js/tutorials/00_getting_started/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/00_getting_started/README.md @@ -11,7 +11,7 @@ You can still learn a lot of these if they aren't in your base skill-set; it'll ### Your Dev Environment -These tutorials require [Node.js 8.7+](https://nodejs.org/en/download/). [Yarn](https://yarnpkg.com/en/) is nice, but not required. Runnable versions of the tutorials are located [in this github repo](https://github.com/steemit/devportal-tutorials-js). +These tutorials require [Node.js 8.7+](https://nodejs.org/en/download/). [Yarn](https://yarnpkg.com/en/) is nice, but not required. Runnable versions of the tutorials are located [in this github repo](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/devportal-tutorials-js). If you haven't chosen an editor, you can use [Atom](https://atom.io/), [Sublime](https://www.sublimetext.com/), [Intellij](https://www.jetbrains.com/idea/), [Vi](https://en.wikipedia.org/wiki/Vi), etc. If you want to keep multiple versions of Node on your system try [Node Version Manager](https://github.com/creationix/nvm). @@ -20,17 +20,17 @@ If you want to keep multiple versions of Node on your system try [Node Version M Let's say you wanted to run the very [first tutorial](../01_blog_feed), `01_blog_feed`. Here's how you'd do it: -1. From Bash: +From Bash: - ```bash - git clone https://github.com/steemit/devportal-tutorials-js.git +```bash +git clone https://gitlab.syncad.com/hive/devportal.git - cd devportal-tutorials-js/tutorials/01_blog_feed - npm i - npm run dev-server - ``` +cd devportal/tutorials/devportal-tutorials-js/tutorials/01_blog_feed +npm i +npm run dev-server +``` -1. open http://localhost:3000/ in your web browser +Then open http://localhost:3000/ in your web browser: ``` ### Github diff --git a/tutorials/devportal-tutorials-js/tutorials/01_blog_feed/README.md b/tutorials/devportal-tutorials-js/tutorials/01_blog_feed/README.md index fa026f3b..3b04e469 100755 --- a/tutorials/devportal-tutorials-js/tutorials/01_blog_feed/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/01_blog_feed/README.md @@ -145,8 +145,8 @@ That's all there is to it. ### To Run the tutorial -1. clone this repo -1. `cd tutorials/01_blog_feed` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/01_blog_feed` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/02_steemconnect/README.md b/tutorials/devportal-tutorials-js/tutorials/02_steemconnect/README.md index 5d45d92f..d64b65f1 100755 --- a/tutorials/devportal-tutorials-js/tutorials/02_steemconnect/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/02_steemconnect/README.md @@ -110,8 +110,8 @@ Now that `sc2-sdk` is initialized we can start authentication and perform simple ### To Run the tutorial -1. clone this repo -1. `cd tutorials/02_steemconnect` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/02_steemconnect` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/03_client_signing/README.md b/tutorials/devportal-tutorials-js/tutorials/03_client_signing/README.md index ce5c526a..11651d13 100755 --- a/tutorials/devportal-tutorials-js/tutorials/03_client_signing/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/03_client_signing/README.md @@ -109,8 +109,8 @@ That's it! ### To Run the tutorial -1. clone this repo -1. `cd tutorials/03_client_signing` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/03_client_signing` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/04_get_posts/README.md b/tutorials/devportal-tutorials-js/tutorials/04_get_posts/README.md index 03c5aec2..e78f391a 100755 --- a/tutorials/devportal-tutorials-js/tutorials/04_get_posts/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/04_get_posts/README.md @@ -180,8 +180,8 @@ The result returned from the service is a `JSON` list. This is an example list w ### To Run the tutorial -1. clone this repo -1. `cd tutorials/04_get_posts` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/04_get_posts` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/05_get_post_details/README.md b/tutorials/devportal-tutorials-js/tutorials/05_get_post_details/README.md index a1f5e07f..484cb3f9 100755 --- a/tutorials/devportal-tutorials-js/tutorials/05_get_post_details/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/05_get_post_details/README.md @@ -180,8 +180,8 @@ That's it! ### To Run the tutorial -1. clone this repo -1. `cd tutorials/05_get_post_details` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/05_get_post_details` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/06_get_voters_list_on_post/README.md b/tutorials/devportal-tutorials-js/tutorials/06_get_voters_list_on_post/README.md index 4891a90a..7d7f7ad5 100755 --- a/tutorials/devportal-tutorials-js/tutorials/06_get_voters_list_on_post/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/06_get_voters_list_on_post/README.md @@ -95,8 +95,8 @@ From this result, you have access to everything associated with the selected pos ### To Run the tutorial -1. clone this repo -1. `cd tutorials/06_get_voters_list_on_post` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/06_get_voters_list_on_post` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/07_get_post_comments/README.md b/tutorials/devportal-tutorials-js/tutorials/07_get_post_comments/README.md index 3c055225..254065eb 100755 --- a/tutorials/devportal-tutorials-js/tutorials/07_get_post_comments/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/07_get_post_comments/README.md @@ -139,8 +139,8 @@ From this result, you have access to comments made on selected post. ### To Run the tutorial -1. clone this repo -1. `cd tutorials/07_get_post_comments` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/07_get_post_comments` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/08_get_account_replies/README.md b/tutorials/devportal-tutorials-js/tutorials/08_get_account_replies/README.md index 613140af..4a9e9896 100755 --- a/tutorials/devportal-tutorials-js/tutorials/08_get_account_replies/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/08_get_account_replies/README.md @@ -259,8 +259,8 @@ We check if `content` is not an empty object and we iterate through each object ### To Run the tutorial -1. clone this repo -1. `cd tutorials/08_get_account_replies` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/08_get_account_replies` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/09_get_account_comments/README.md b/tutorials/devportal-tutorials-js/tutorials/09_get_account_comments/README.md index 868893a9..643ccda8 100755 --- a/tutorials/devportal-tutorials-js/tutorials/09_get_account_comments/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/09_get_account_comments/README.md @@ -265,8 +265,8 @@ Each line is then pushed and displayed separately. ### To Run the tutorial -1. clone this repo -1. `cd tutorials/09_get_account_comments` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/09_get_account_comments` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/10_submit_post/README.md b/tutorials/devportal-tutorials-js/tutorials/10_submit_post/README.md index 251d6ab6..0b05cd6d 100755 --- a/tutorials/devportal-tutorials-js/tutorials/10_submit_post/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/10_submit_post/README.md @@ -105,8 +105,8 @@ The `broadcast` operation has more to offer than just committing a post/comment ### To Run the tutorial -1. clone this repo -1. `cd tutorials/10_submit_post` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/10_submit_post` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/11_submit_comment_reply/README.md b/tutorials/devportal-tutorials-js/tutorials/11_submit_comment_reply/README.md index 01206092..c7ce07d2 100755 --- a/tutorials/devportal-tutorials-js/tutorials/11_submit_comment_reply/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/11_submit_comment_reply/README.md @@ -134,8 +134,8 @@ The `broadcast` operation has more to offer than just committing a post/comment ### To Run the tutorial -1. clone this repo -1. `cd tutorials/11_submit_comment_reply` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/11_submit_comment_reply` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at http://localhost:3000/ diff --git a/tutorials/devportal-tutorials-js/tutorials/12_edit_content_patching/README.md b/tutorials/devportal-tutorials-js/tutorials/12_edit_content_patching/README.md index 2e6e6974..215d95b3 100755 --- a/tutorials/devportal-tutorials-js/tutorials/12_edit_content_patching/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/12_edit_content_patching/README.md @@ -169,8 +169,8 @@ After the post has been broadcasted to the network, we can simply set all the fi ### To Run the tutorial -1. clone this repo -1. `cd tutorials/12_edit_content_patching` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/12_edit_content_patching` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at http://localhost:3000/ diff --git a/tutorials/devportal-tutorials-js/tutorials/13_stream_blockchain_transactions/README.md b/tutorials/devportal-tutorials-js/tutorials/13_stream_blockchain_transactions/README.md index c0a2a9bd..58091e57 100755 --- a/tutorials/devportal-tutorials-js/tutorials/13_stream_blockchain_transactions/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/13_stream_blockchain_transactions/README.md @@ -118,8 +118,8 @@ That's it! ### To Run the tutorial -1. clone this repo -1. `cd tutorials/13_stream_blockchain_transactions` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/13_stream_blockchain_transactions` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/14_reblogging_post/README.md b/tutorials/devportal-tutorials-js/tutorials/14_reblogging_post/README.md index 45ee47eb..b63a06e0 100755 --- a/tutorials/devportal-tutorials-js/tutorials/14_reblogging_post/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/14_reblogging_post/README.md @@ -130,8 +130,8 @@ It should be noted that reblogging a post does not create a new post on the bloc ## To run this tutorial -1. clone this repo -2. `cd tutorials/14_reblogging_post` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-js/tutorials/14_reblogging_post` 3. `npm i` 4. `npm run dev-server` or `npm run start` 5. After a few moments, the server should be running at http://localhost:3000/ diff --git a/tutorials/devportal-tutorials-js/tutorials/15_search_accounts/README.md b/tutorials/devportal-tutorials-js/tutorials/15_search_accounts/README.md index 58227099..a56018b4 100755 --- a/tutorials/devportal-tutorials-js/tutorials/15_search_accounts/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/15_search_accounts/README.md @@ -66,8 +66,8 @@ document.getElementById('accList').innerHTML = _accounts.join('<br>'); ## To run this tutorial -1. clone this repo -2. `cd tutorials/15_search_accounts` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-js/tutorials/15_search_accounts` 3. `npm i` 4. `npm run dev-server` or `npm run start` 5. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/16_search_tags/README.md b/tutorials/devportal-tutorials-js/tutorials/16_search_tags/README.md index c4f6c52d..cf22b771 100755 --- a/tutorials/devportal-tutorials-js/tutorials/16_search_tags/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/16_search_tags/README.md @@ -70,8 +70,8 @@ document.getElementById('tagList').innerHTML = posts.join('<br>'); ### To run this tutorial -1. clone this repo -1. `cd tutorials/16_search_tags` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/16_search_tags` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at http://localhost:3000/ diff --git a/tutorials/devportal-tutorials-js/tutorials/17_vote_on_content/README.md b/tutorials/devportal-tutorials-js/tutorials/17_vote_on_content/README.md index 9d512555..8f43298e 100755 --- a/tutorials/devportal-tutorials-js/tutorials/17_vote_on_content/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/17_vote_on_content/README.md @@ -212,8 +212,8 @@ More information on how to use the `broadcast` operation and options surrounding ### To run this tutorial -1. clone this repo -1. `cd tutorials/17_vote_on_content` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/17_vote_on_content` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/18_follow_a_user/README.md b/tutorials/devportal-tutorials-js/tutorials/18_follow_a_user/README.md index c72ec68b..28f08c37 100755 --- a/tutorials/devportal-tutorials-js/tutorials/18_follow_a_user/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/18_follow_a_user/README.md @@ -146,8 +146,8 @@ If either of the values for the user or author does not exist the proper error r ### To run this tutorial -1. clone this repo -1. `cd tutorials/18_follow_user` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/18_follow_user` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/19_get_follower_and_following_list/README.md b/tutorials/devportal-tutorials-js/tutorials/19_get_follower_and_following_list/README.md index c752982c..134b15de 100755 --- a/tutorials/devportal-tutorials-js/tutorials/19_get_follower_and_following_list/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/19_get_follower_and_following_list/README.md @@ -108,8 +108,8 @@ followlist.forEach(newObj => { ### To run this tutorial -1. clone this repo -2. `cd tutorials/19_get_follower_and_following_list` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-js/tutorials/19_get_follower_and_following_list` 3. `npm i` 4. `npm run dev-server` or `npm run start` 5. After a few moments, the server should be running at http://localhost:3000/ diff --git a/tutorials/devportal-tutorials-js/tutorials/20_account_reputation/README.md b/tutorials/devportal-tutorials-js/tutorials/20_account_reputation/README.md index 3b0540c3..32b834c0 100755 --- a/tutorials/devportal-tutorials-js/tutorials/20_account_reputation/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/20_account_reputation/README.md @@ -97,8 +97,8 @@ That's it! ### To run this tutorial -1. clone this repo -1. `cd tutorials/20_account_reputation` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/20_account_reputation` 1. `npm i` 1. `npm i` 1. `npm run dev-server` or `npm run start` diff --git a/tutorials/devportal-tutorials-js/tutorials/21_transfer_steem_and_sbd/README.md b/tutorials/devportal-tutorials-js/tutorials/21_transfer_steem_and_sbd/README.md index 6f236fac..768fcca5 100755 --- a/tutorials/devportal-tutorials-js/tutorials/21_transfer_steem_and_sbd/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/21_transfer_steem_and_sbd/README.md @@ -115,8 +115,8 @@ client.broadcast.transfer(transf, privateKey).then( ### To run this tutorial -1. clone this repo -2. `cd tutorials/20_transfer_STEEM_and_SBD` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-js/tutorials/20_transfer_STEEM_and_SBD` 3. `npm i` 4. `npm run dev-server` or `npm run start` 5. After a few moments, the server should be running at http://localhost:3000/ diff --git a/tutorials/devportal-tutorials-js/tutorials/22_witness_listing_and_voting/README.md b/tutorials/devportal-tutorials-js/tutorials/22_witness_listing_and_voting/README.md index 3616f510..79fddd5b 100755 --- a/tutorials/devportal-tutorials-js/tutorials/22_witness_listing_and_voting/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/22_witness_listing_and_voting/README.md @@ -176,8 +176,8 @@ The option buttons (continue with voting process or stop) are disabled at the en ### To run this tutorial -1. clone this repo -1. `cd tutorials/22_witness_listing_and_voting` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/22_witness_listing_and_voting` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/23_claim_rewards/README.md b/tutorials/devportal-tutorials-js/tutorials/23_claim_rewards/README.md index b9cb35e2..6d22c6cd 100755 --- a/tutorials/devportal-tutorials-js/tutorials/23_claim_rewards/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/23_claim_rewards/README.md @@ -98,8 +98,8 @@ That's it! ### To run this tutorial -1. clone this repo -1. `cd tutorials/21_claim_rewards` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/21_claim_rewards` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/24_power_up_steem/README.md b/tutorials/devportal-tutorials-js/tutorials/24_power_up_steem/README.md index f31db360..337c880f 100755 --- a/tutorials/devportal-tutorials-js/tutorials/24_power_up_steem/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/24_power_up_steem/README.md @@ -93,8 +93,8 @@ That's it! ### To run this tutorial -1. clone this repo -1. `cd tutorials/22_power_up_steem` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/22_power_up_steem` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/25_power_down/README.md b/tutorials/devportal-tutorials-js/tutorials/25_power_down/README.md index 3dfaf660..94cca1a3 100755 --- a/tutorials/devportal-tutorials-js/tutorials/25_power_down/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/25_power_down/README.md @@ -107,8 +107,8 @@ That's it! ### To run this tutorial -1. `git clone https://github.com/steemit/devportal-tutorials-js.git` -1. `cd devportal-tutorials-js/tutorials/23_power_down` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/25_power_down` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/26_create_account/README.md b/tutorials/devportal-tutorials-js/tutorials/26_create_account/README.md index 25494172..5eafd3c9 100755 --- a/tutorials/devportal-tutorials-js/tutorials/26_create_account/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/26_create_account/README.md @@ -190,8 +190,8 @@ That's it! ### To run this tutorial -1. clone this repo -1. `cd tutorials/26_create_account` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/26_create_account` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/27_delegate_power/README.md b/tutorials/devportal-tutorials-js/tutorials/27_delegate_power/README.md index b794c336..01950836 100755 --- a/tutorials/devportal-tutorials-js/tutorials/27_delegate_power/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/27_delegate_power/README.md @@ -99,8 +99,8 @@ That's it! ### To run this tutorial -1. clone this repo -1. `cd tutorials/25_delegate_power` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/25_delegate_power` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/28_set_withdraw_route/README.md b/tutorials/devportal-tutorials-js/tutorials/28_set_withdraw_route/README.md index 05eae165..05889f3c 100755 --- a/tutorials/devportal-tutorials-js/tutorials/28_set_withdraw_route/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/28_set_withdraw_route/README.md @@ -113,8 +113,8 @@ That's it! ### To run this tutorial -1. clone this repo -1. `cd tutorials/26_set_withdraw_route` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/26_set_withdraw_route` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/) diff --git a/tutorials/devportal-tutorials-js/tutorials/29_get_delegations_by_user/README.md b/tutorials/devportal-tutorials-js/tutorials/29_get_delegations_by_user/README.md index 458082b9..2d448748 100755 --- a/tutorials/devportal-tutorials-js/tutorials/29_get_delegations_by_user/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/29_get_delegations_by_user/README.md @@ -148,8 +148,8 @@ delegationdata.forEach(newObj => { ### To run this tutorial -1. clone this repo -2. `cd tutorials/27_get_delegations_by_user` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-js/tutorials/27_get_delegations_by_user` 3. `npm i` 4. `npm run dev-server` or `npm run start` 5. After a few moments, the server should be running at http://localhost:3000/ diff --git a/tutorials/devportal-tutorials-js/tutorials/30_grant_posting_permission/README.md b/tutorials/devportal-tutorials-js/tutorials/30_grant_posting_permission/README.md index 953b693b..fec90d45 100755 --- a/tutorials/devportal-tutorials-js/tutorials/30_grant_posting_permission/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/30_grant_posting_permission/README.md @@ -161,8 +161,8 @@ This is similar to the steemconnect links that have been covered in previous tut ### To run this tutorial -1. clone this repo -2. `cd tutorials/28_grant_posting_permission` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-js/tutorials/28_grant_posting_permission` 3. `npm i` 4. `npm run dev-server` or `npm run start` 5. After a few moments, the server should be running at http://localhost:3000/ diff --git a/tutorials/devportal-tutorials-js/tutorials/31_grant_active_permission/README.md b/tutorials/devportal-tutorials-js/tutorials/31_grant_active_permission/README.md index 761f97ec..ff501dac 100755 --- a/tutorials/devportal-tutorials-js/tutorials/31_grant_active_permission/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/31_grant_active_permission/README.md @@ -172,8 +172,8 @@ This is similar to the steemconnect links that have been covered in previous tut ### To run this tutorial -1. clone this repo -1. `cd tutorials/31_grant_active_permission` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/31_grant_active_permission` 1. `npm i` 1. `npm run dev-server` or `npm run start` -1. After a few moments, the server should be running at http://localhost:3000/ \ No newline at end of file +1. After a few moments, the server should be running at http://localhost:3000/ diff --git a/tutorials/devportal-tutorials-js/tutorials/32_convert_sbd_to_steem/README.md b/tutorials/devportal-tutorials-js/tutorials/32_convert_sbd_to_steem/README.md index a627291c..7c705b14 100755 --- a/tutorials/devportal-tutorials-js/tutorials/32_convert_sbd_to_steem/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/32_convert_sbd_to_steem/README.md @@ -136,8 +136,8 @@ The results of the operation is displayed on the UI along with a block number in ### To run this tutorial -1. clone this repo -1. `cd tutorials/32_convert_sbd_to_steem` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/32_convert_sbd_to_steem` 1. `npm i` 1. `npm run dev-server` or `npm run start` -1. After a few moments, the server should be running at http://localhost:3000/ \ No newline at end of file +1. After a few moments, the server should be running at http://localhost:3000/ diff --git a/tutorials/devportal-tutorials-js/tutorials/34_get_state_replacement_api/README.md b/tutorials/devportal-tutorials-js/tutorials/34_get_state_replacement_api/README.md index e62daebf..56d772dd 100755 --- a/tutorials/devportal-tutorials-js/tutorials/34_get_state_replacement_api/README.md +++ b/tutorials/devportal-tutorials-js/tutorials/34_get_state_replacement_api/README.md @@ -484,8 +484,8 @@ This detailed information can be used to track the performance of a specific wit ### To run this tutorial -1. clone this repo -1. `cd tutorials/34_get_state_replacement_api` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-js/tutorials/34_get_state_replacement_api` 1. `npm i` 1. `npm run dev-server` or `npm run start` 1. After a few moments, the server should be running at http://localhost:3000/ diff --git a/tutorials/devportal-tutorials-py/README.md b/tutorials/devportal-tutorials-py/README.md index 72c00673..01315088 100755 --- a/tutorials/devportal-tutorials-py/README.md +++ b/tutorials/devportal-tutorials-py/README.md @@ -49,13 +49,11 @@ The tutorials build on each other. It's suggested you go through them in-order. Use the command line/terminal for the following instructions -1. clone this repo - - `git clone git@github.com:steemit/devportal-tutorial-py.git` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` 1. cd into the tutorial you wish to run - ex: `cd tutorials/04_get_posts` + ex: `cd devportal/tutorials/devportal-tutorials-py/tutorials/04_get_posts` 1. Use pip to install dependencies diff --git a/tutorials/devportal-tutorials-py/tutorials/001_using_keys_securely/README.md b/tutorials/devportal-tutorials-py/tutorials/001_using_keys_securely/README.md index a752774a..9e2ee83c 100755 --- a/tutorials/devportal-tutorials-py/tutorials/001_using_keys_securely/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/001_using_keys_securely/README.md @@ -81,9 +81,8 @@ That's it! ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/001_using_keys_securely` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/001_using_keys_securely` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - diff --git a/tutorials/devportal-tutorials-py/tutorials/04_get_posts/README.md b/tutorials/devportal-tutorials-py/tutorials/04_get_posts/README.md index af15ff8d..a05e3bba 100755 --- a/tutorials/devportal-tutorials-py/tutorials/04_get_posts/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/04_get_posts/README.md @@ -161,9 +161,8 @@ That's it! ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/04_get_posts` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/04_get_posts` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - diff --git a/tutorials/devportal-tutorials-py/tutorials/05_get_post_details/README.md b/tutorials/devportal-tutorials-py/tutorials/05_get_post_details/README.md index 1290d180..67a6b1cc 100755 --- a/tutorials/devportal-tutorials-py/tutorials/05_get_post_details/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/05_get_post_details/README.md @@ -154,9 +154,8 @@ That's it! ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/05_get_post_details` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/05_get_post_details` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - diff --git a/tutorials/devportal-tutorials-py/tutorials/06_get_voters_list_on_post/README.md b/tutorials/devportal-tutorials-py/tutorials/06_get_voters_list_on_post/README.md index 6be9696c..6582294c 100755 --- a/tutorials/devportal-tutorials-py/tutorials/06_get_voters_list_on_post/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/06_get_voters_list_on_post/README.md @@ -108,9 +108,8 @@ That's it! ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/06_get_voters_list` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/06_get_voters_list` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - diff --git a/tutorials/devportal-tutorials-py/tutorials/07_get_post_comments/README.md b/tutorials/devportal-tutorials-py/tutorials/07_get_post_comments/README.md index 5342541b..72f536a2 100755 --- a/tutorials/devportal-tutorials-py/tutorials/07_get_post_comments/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/07_get_post_comments/README.md @@ -180,9 +180,8 @@ That's it! ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/07_get_post_comments` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/07_get_post_comments` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - diff --git a/tutorials/devportal-tutorials-py/tutorials/08_get_account_replies/README.md b/tutorials/devportal-tutorials-py/tutorials/08_get_account_replies/README.md index 23491d9f..0b9de0cf 100755 --- a/tutorials/devportal-tutorials-py/tutorials/08_get_account_replies/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/08_get_account_replies/README.md @@ -84,8 +84,8 @@ Next, we will print the details obtained from the function. Because we only want ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/08_get_account_replies` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/08_get_account_replies` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see output in terminal/command prompt screen. \ No newline at end of file +1. After a few moments, you should see output in terminal/command prompt screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/09_get_account_comments/README.md b/tutorials/devportal-tutorials-py/tutorials/09_get_account_comments/README.md index 9a3d6c62..cd674207 100755 --- a/tutorials/devportal-tutorials-py/tutorials/09_get_account_comments/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/09_get_account_comments/README.md @@ -196,9 +196,8 @@ That's it! ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/09_get_account_comments` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/09_get_account_comments` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - diff --git a/tutorials/devportal-tutorials-py/tutorials/10_submit_post/README.md b/tutorials/devportal-tutorials-py/tutorials/10_submit_post/README.md index 02233f66..362a32b0 100755 --- a/tutorials/devportal-tutorials-py/tutorials/10_submit_post/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/10_submit_post/README.md @@ -103,9 +103,8 @@ You can also check on the [testportal](http://condenser.steem.vc/blog/@cdemo) fo ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -2. `cd tutorials/10_submit_post` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +2. `cd devportal/tutorials/devportal-tutorials-py/tutorials/10_submit_post` 3. `pip install -r requirements.txt` 4. `python index.py` 5. After a few moments, you should see a prompt for input in terminal screen. - diff --git a/tutorials/devportal-tutorials-py/tutorials/11_submit_comment_reply/README.md b/tutorials/devportal-tutorials-py/tutorials/11_submit_comment_reply/README.md index 0ce25030..5617426f 100755 --- a/tutorials/devportal-tutorials-py/tutorials/11_submit_comment_reply/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/11_submit_comment_reply/README.md @@ -109,8 +109,8 @@ You can also check on the [testportal](http://condenser.steem.vc/blog/@cdemo) fo ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/11_submit_comment_reply` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/11_submit_comment_reply` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/12_edit_content_patching/README.md b/tutorials/devportal-tutorials-py/tutorials/12_edit_content_patching/README.md index ab3220e2..fcd15eac 100755 --- a/tutorials/devportal-tutorials-py/tutorials/12_edit_content_patching/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/12_edit_content_patching/README.md @@ -141,8 +141,8 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/12_edit_content_patching` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/12_edit_content_patching` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/13_stream_blockchain_transactions/README.md b/tutorials/devportal-tutorials-py/tutorials/13_stream_blockchain_transactions/README.md index 7d79b8ca..affd1fd2 100755 --- a/tutorials/devportal-tutorials-py/tutorials/13_stream_blockchain_transactions/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/13_stream_blockchain_transactions/README.md @@ -63,8 +63,8 @@ That's it! ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/13_stream_blockchain_transactions` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/13_stream_blockchain_transactions` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/14_reblogging_post/README.md b/tutorials/devportal-tutorials-py/tutorials/14_reblogging_post/README.md index 7211f5a5..62f34f2c 100755 --- a/tutorials/devportal-tutorials-py/tutorials/14_reblogging_post/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/14_reblogging_post/README.md @@ -78,9 +78,8 @@ That's it, if transaction is successful you shouldn't see any error messages, ot ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/14_reblogging_post` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/14_reblogging_post` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. - diff --git a/tutorials/devportal-tutorials-py/tutorials/15_search_accounts/README.md b/tutorials/devportal-tutorials-py/tutorials/15_search_accounts/README.md index b3901dc1..7a8ca4bc 100755 --- a/tutorials/devportal-tutorials-py/tutorials/15_search_accounts/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/15_search_accounts/README.md @@ -88,8 +88,8 @@ That's it!. ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/15_search_accounts` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/15_search_accounts` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see output in terminal/command prompt screen. \ No newline at end of file +1. After a few moments, you should see output in terminal/command prompt screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/17_vote_on_content/README.md b/tutorials/devportal-tutorials-py/tutorials/17_vote_on_content/README.md index 18911c95..2fe36117 100755 --- a/tutorials/devportal-tutorials-py/tutorials/17_vote_on_content/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/17_vote_on_content/README.md @@ -123,8 +123,8 @@ A simple confirmation of the chosen action is printed on the screen. ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/17_vote_on_content` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/17_vote_on_content` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/18_follow_a_user/README.md b/tutorials/devportal-tutorials-py/tutorials/18_follow_a_user/README.md index b8db5c88..cd6c628a 100755 --- a/tutorials/devportal-tutorials-py/tutorials/18_follow_a_user/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/18_follow_a_user/README.md @@ -121,8 +121,8 @@ You can also check on the [testportal](http://condenser.steem.vc/blog/@cdemo) fo ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/18_follow_a_user` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/18_follow_a_user` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/19_get_follower_and_following_list/README.md b/tutorials/devportal-tutorials-py/tutorials/19_get_follower_and_following_list/README.md index 1f15e0e5..940aa839 100755 --- a/tutorials/devportal-tutorials-py/tutorials/19_get_follower_and_following_list/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/19_get_follower_and_following_list/README.md @@ -111,8 +111,8 @@ This is a fairly simple example of how to use these functions but we encourage y ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/19_get_follower_and_following_list` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/19_get_follower_and_following_list` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see output in terminal/command prompt screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/20_account_reputation/README.md b/tutorials/devportal-tutorials-py/tutorials/20_account_reputation/README.md index ffc2385a..ee9c1ad5 100755 --- a/tutorials/devportal-tutorials-py/tutorials/20_account_reputation/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/20_account_reputation/README.md @@ -95,8 +95,8 @@ That's it. We have successfully interpreted reputation. ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/20_account_reputation` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/20_account_reputation` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see output in terminal/command prompt screen. \ No newline at end of file +1. After a few moments, you should see output in terminal/command prompt screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/21_transfer_steem_and_sbd/README.md b/tutorials/devportal-tutorials-py/tutorials/21_transfer_steem_and_sbd/README.md index 16927263..5af463ca 100755 --- a/tutorials/devportal-tutorials-py/tutorials/21_transfer_steem_and_sbd/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/21_transfer_steem_and_sbd/README.md @@ -148,8 +148,8 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/21_transfer_steem_and_sbd` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/21_transfer_steem_and_sbd` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/22_witness_listing_and_voting/README.md b/tutorials/devportal-tutorials-py/tutorials/22_witness_listing_and_voting/README.md index 8605d263..077b9183 100755 --- a/tutorials/devportal-tutorials-py/tutorials/22_witness_listing_and_voting/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/22_witness_listing_and_voting/README.md @@ -139,8 +139,8 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/22_witness_listing_and_voting` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/22_witness_listing_and_voting` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/23_claim_rewards/README.md b/tutorials/devportal-tutorials-py/tutorials/23_claim_rewards/README.md index cce2184c..f0f103d0 100755 --- a/tutorials/devportal-tutorials-py/tutorials/23_claim_rewards/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/23_claim_rewards/README.md @@ -158,8 +158,8 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/23_claim_rewards` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/23_claim_rewards` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/24_power_up_steem/README.md b/tutorials/devportal-tutorials-py/tutorials/24_power_up_steem/README.md index b0d8386a..4c96e8ac 100755 --- a/tutorials/devportal-tutorials-py/tutorials/24_power_up_steem/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/24_power_up_steem/README.md @@ -137,8 +137,8 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/24_power_up_steem` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/24_power_up_steem` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/25_power_down/README.md b/tutorials/devportal-tutorials-py/tutorials/25_power_down/README.md index 6246e4ae..1634307e 100755 --- a/tutorials/devportal-tutorials-py/tutorials/25_power_down/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/25_power_down/README.md @@ -124,8 +124,8 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/25_power_down` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/25_power_down` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/27_delegate_power/README.md b/tutorials/devportal-tutorials-py/tutorials/27_delegate_power/README.md index 8273b5d0..c49be55e 100755 --- a/tutorials/devportal-tutorials-py/tutorials/27_delegate_power/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/27_delegate_power/README.md @@ -132,8 +132,8 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/27_delegate_power` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/27_delegate_power` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/29_get_delegations_by_user/README.md b/tutorials/devportal-tutorials-py/tutorials/29_get_delegations_by_user/README.md index 246bcbb9..6dc3a5dd 100755 --- a/tutorials/devportal-tutorials-py/tutorials/29_get_delegations_by_user/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/29_get_delegations_by_user/README.md @@ -98,8 +98,8 @@ That's it! ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/29_get_delegations_by_user` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/29_get_delegations_by_user` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/30_grant_posting_permission/README.md b/tutorials/devportal-tutorials-py/tutorials/30_grant_posting_permission/README.md index 4aee9e3b..1bd8c5b3 100755 --- a/tutorials/devportal-tutorials-py/tutorials/30_grant_posting_permission/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/30_grant_posting_permission/README.md @@ -121,8 +121,8 @@ And that's it! ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/30_grant_posting_permission` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/30_grant_posting_permission` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/31_grant_active_permission/README.md b/tutorials/devportal-tutorials-py/tutorials/31_grant_active_permission/README.md index 36e88211..3678423d 100755 --- a/tutorials/devportal-tutorials-py/tutorials/31_grant_active_permission/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/31_grant_active_permission/README.md @@ -127,8 +127,8 @@ And that's it! ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/31_grant_active_permission` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/31_grant_active_permission` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/32_convert_sbd_to_steem/README.md b/tutorials/devportal-tutorials-py/tutorials/32_convert_sbd_to_steem/README.md index 5434c50e..fdd04f8e 100755 --- a/tutorials/devportal-tutorials-py/tutorials/32_convert_sbd_to_steem/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/32_convert_sbd_to_steem/README.md @@ -115,8 +115,8 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/00_getting_started#dev-requirements) -1. clone this repo -1. `cd tutorials/32_convert_sbd_to_steem` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/32_convert_sbd_to_steem` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen.devportal-tutorials-py/tutorials/ diff --git a/tutorials/devportal-tutorials-py/tutorials/33_password_key_change/README.md b/tutorials/devportal-tutorials-py/tutorials/33_password_key_change/README.md index 13667aa7..674892d7 100755 --- a/tutorials/devportal-tutorials-py/tutorials/33_password_key_change/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/33_password_key_change/README.md @@ -131,8 +131,8 @@ That's it! ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/33_password_key_change` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/33_password_key_change` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/33_transfer_steem_and_sbd_to_savings_balance/README.md b/tutorials/devportal-tutorials-py/tutorials/33_transfer_steem_and_sbd_to_savings_balance/README.md index c32d3c99..1f215e86 100755 --- a/tutorials/devportal-tutorials-py/tutorials/33_transfer_steem_and_sbd_to_savings_balance/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/33_transfer_steem_and_sbd_to_savings_balance/README.md @@ -168,8 +168,8 @@ We encourage users to play around with different values and data types to fully ### To Run the tutorial 1. [review dev requirements](https://github.com/steemit/devportal-tutorials-py/tree/master/tutorials/00_getting_started#dev-requirements) -1. clone this repo -1. `cd tutorials/33_transfer_steem_and_sbd_to_savings_balance` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/33_transfer_steem_and_sbd_to_savings_balance` 1. `pip install -r requirements.txt` 1. `python index.py` -1. After a few moments, you should see a prompt for input in terminal screen. \ No newline at end of file +1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-py/tutorials/35_account_recovery/README.md b/tutorials/devportal-tutorials-py/tutorials/35_account_recovery/README.md index 88e66164..ddf8b317 100755 --- a/tutorials/devportal-tutorials-py/tutorials/35_account_recovery/README.md +++ b/tutorials/devportal-tutorials-py/tutorials/35_account_recovery/README.md @@ -221,8 +221,8 @@ And that's it! ### To Run the tutorial 1. [review dev requirements](../00_getting_started) -1. clone this repo -1. `cd tutorials/35_account_recovery` +1. `git clone https://gitlab.syncad.com/hive/devportal.git` +1. `cd devportal/tutorials/devportal-tutorials-py/tutorials/35_account_recovery` 1. `pip install -r requirements.txt` 1. `python index.py` 1. After a few moments, you should see a prompt for input in terminal screen. diff --git a/tutorials/devportal-tutorials-rb/README.md b/tutorials/devportal-tutorials-rb/README.md index ce9406df..3637f66c 100755 --- a/tutorials/devportal-tutorials-rb/README.md +++ b/tutorials/devportal-tutorials-rb/README.md @@ -19,7 +19,7 @@ The tutorials build on each other. It's suggested you go through them in-order. Use the command line/terminal for the following instructions -1. clone this repo +1. `git clone https://gitlab.syncad.com/hive/devportal.git` `git clone git@github.com:steemit/devportal-tutorials-rb.git` diff --git a/tutorials/devportal-tutorials-rb/tutorials/00_getting_started/README.md b/tutorials/devportal-tutorials-rb/tutorials/00_getting_started/README.md index af1ec861..63424bac 100755 --- a/tutorials/devportal-tutorials-rb/tutorials/00_getting_started/README.md +++ b/tutorials/devportal-tutorials-rb/tutorials/00_getting_started/README.md @@ -76,4 +76,4 @@ api = Radiator::Api.new(options) ### Next Step -If you'd like to dive right into the first tutorial, have a look at: [Blog Feed](https://github.com/steemit/devportal-tutorials-rb/tree/master/tutorials/01_blog_feed) +If you'd like to dive right into the first tutorial, have a look at: [Blog Feed](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/devportal-tutorials-rb/tutorials/01_blog_feed) -- GitLab