create account

Pull Request Submitted to Update Condenser Install Instructions by timcliff

View this thread on: hive.blogpeakd.comecency.com
· @timcliff ·
$22.21
Pull Request Submitted to Update Condenser Install Instructions
A while back, I created a post <a href="https://steemit.com/steemit/@timcliff/instructions-for-installing-a-steemit-com-instance-for-developers-interested-in-working-on-changes-to-steemit-com">Instructions for Installing a Steemit.com Instance (For Developers Interested in Working on Changes to Steemit.com)</a>. The main reason was because after following the instructions in the GitHub repository, I found that there were a few steps that were unclear / missing / incorrect.

I was recently working on a PR and needed to install a fresh instance of condenser. I went to my instructions post and found that it was out of date too. Rather than create a new post with updated instructions, I figured it would be best to actually update the instructions in the GitHub repository.

I made the following changes:
- Added step to verify NVM is installed.
- Changed config file from steem-example.json to default.json.
- Added quit/exit commands where appropriate.
- Added step to update ~/condenser/db/config/config.json with the mysql password.
- Clarified the step at the end to know when condenser is running.
- Updated the port number to be based on whatever is output as the port number condenser is running on.

Here is the pull request:
https://github.com/steemit/condenser/pull/1389

The PR is not accepted yet, but I am hopeful that it will be soon. I will work with the Steemit dev team to make any necessary changes in order for it to be accepted.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 125 others
properties (23)
authortimcliff
permlinkpull-request-submitted-to-update-condenser-install-instructions
categorycondenser
json_metadata{"tags":["condenser","steemit","dev","development","programming"],"links":["https://steemit.com/steemit/@timcliff/instructions-for-installing-a-steemit-com-instance-for-developers-interested-in-working-on-changes-to-steemit-com","https://github.com/steemit/condenser/pull/1389"],"app":"steemit/0.1","format":"markdown"}
created2017-04-30 19:13:51
last_update2017-04-30 19:13:51
depth0
children3
last_payout2017-05-07 19:13:51
cashout_time1969-12-31 23:59:59
total_payout_value19.610 HBD
curator_payout_value2.598 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,454
author_reputation272,954,445,077,789
root_title"Pull Request Submitted to Update Condenser Install Instructions"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id3,166,198
net_rshares14,782,163,008,140
author_curate_reward""
vote details (189)
@justinw ·
Condenser can also be configured using environment variables instead of copying defaults.json. They are defined in the file named custom-environment-variables.json. Another super easy way to run condenser is to use the official docker image and just set the necessary environment variables upon run, ex.:

`docker run -d --env SDC_DATABASE_URL=mysql://user:pass:@localhost/steemit_dev -p 8080:8080 steemit/condenser`

Thanks for helping out, Tim!
👍  
properties (23)
authorjustinw
permlinkre-timcliff-pull-request-submitted-to-update-condenser-install-instructions-20170430t211305263z
categorycondenser
json_metadata{"tags":["condenser"],"app":"steemit/0.1"}
created2017-04-30 21:13:03
last_update2017-04-30 21:13:03
depth1
children1
last_payout2017-05-07 21:13:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length446
author_reputation15,502,058,309,908
root_title"Pull Request Submitted to Update Condenser Install Instructions"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id3,167,341
net_rshares5,506,928,505
author_curate_reward""
vote details (1)
@timcliff ·
Good to know. Thanks @justinw!
👍  
properties (23)
authortimcliff
permlinkre-justinw-re-timcliff-pull-request-submitted-to-update-condenser-install-instructions-20170430t221544661z
categorycondenser
json_metadata{"tags":["condenser"],"users":["justinw"],"app":"steemit/0.1"}
created2017-04-30 22:15:39
last_update2017-04-30 22:15:39
depth2
children0
last_payout2017-05-07 22:15:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length30
author_reputation272,954,445,077,789
root_title"Pull Request Submitted to Update Condenser Install Instructions"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id3,167,823
net_rshares31,762,670,737
author_curate_reward""
vote details (1)
@thedegensloth ·
Oh yeah this is pretty messy on their side, i ended up having to install things that they didnt say needed ti be installed. Npm refused to start with out it.
👍  ,
properties (23)
authorthedegensloth
permlinkre-timcliff-pull-request-submitted-to-update-condenser-install-instructions-20170501t013851624z
categorycondenser
json_metadata{"tags":["condenser"],"app":"steemit/0.1"}
created2017-05-01 01:38:51
last_update2017-05-01 01:38:51
depth1
children0
last_payout2017-05-08 01:38:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length157
author_reputation7,519,511,932,436
root_title"Pull Request Submitted to Update Condenser Install Instructions"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id3,169,489
net_rshares18,275,574,908
author_curate_reward""
vote details (2)