create account

RE: Hive Comments: I Built A Web App Using HiveSQL And Streamlit - All In Python by arcange

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @geekgirl/re-arcange-2kkwjh

· @arcange ·
$0.22
Thank you.

> I made the github repo to the code private because it was leaking the private credentials.

The solution to keeping your repo public is:
- put your credential in a separate .php file (let's call it `credentials.php`) that you import into your main app code
- Add a `credential.example.php` with dummy credentials to your project and tell users to update it with their own credentials and rename it.
- add `credentials.php` to your .gitignore file to avoid it being pushed to your repo when you synch your project.
👍  ,
properties (23)
authorarcange
permlinkre-geekgirl-qnp4xg
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2021.01.3"}
created2021-01-29 12:48:54
last_update2021-01-29 12:48:54
depth3
children3
last_payout2021-02-05 12:48:54
cashout_time1969-12-31 23:59:59
total_payout_value0.112 HBD
curator_payout_value0.112 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length527
author_reputation1,146,633,784,083,859
root_title"Hive Comments: I Built A Web App Using HiveSQL And Streamlit - All In Python"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,611,392
net_rshares1,365,699,067,772
author_curate_reward""
vote details (2)
@brianoflondon ·
$0.25
I'll try to make a post soon about using environmental variables and a configuration file in python and where to put things in Heroku and on the local machine as I just worked this out for my little project. 

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@brianoflondon/re-arcange-rqszt)
👍  ,
properties (23)
authorbrianoflondon
permlinkre-arcange-rqszt
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","leofinance"],"canonical_url":"https://leofinance.io/@brianoflondon/re-arcange-rqszt"}
created2021-01-29 15:44:48
last_update2021-01-29 15:44:48
depth4
children1
last_payout2021-02-05 15:44:48
cashout_time1969-12-31 23:59:59
total_payout_value0.124 HBD
curator_payout_value0.125 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length306
author_reputation760,655,352,092,696
root_title"Hive Comments: I Built A Web App Using HiveSQL And Streamlit - All In Python"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,613,415
net_rshares1,494,773,506,355
author_curate_reward""
vote details (2)
@geekgirl ·
Perfect! Thanks.

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@geekgirl/re-brianoflondon-756n5p)
properties (22)
authorgeekgirl
permlinkre-brianoflondon-756n5p
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","leofinance"],"canonical_url":"https://leofinance.io/@geekgirl/re-brianoflondon-756n5p"}
created2021-01-29 20:05:24
last_update2021-01-29 20:05:24
depth5
children0
last_payout2021-02-05 20:05:24
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_length116
author_reputation1,588,017,852,468,897
root_title"Hive Comments: I Built A Web App Using HiveSQL And Streamlit - All In Python"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,616,754
net_rshares0
@geekgirl ·
Thank You. I will try that.

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@geekgirl/re-arcange-5rtbrq)
properties (22)
authorgeekgirl
permlinkre-arcange-5rtbrq
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","leofinance"],"canonical_url":"https://leofinance.io/@geekgirl/re-arcange-5rtbrq"}
created2021-01-29 20:04:57
last_update2021-01-29 20:04:57
depth4
children0
last_payout2021-02-05 20:04:57
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_length121
author_reputation1,588,017,852,468,897
root_title"Hive Comments: I Built A Web App Using HiveSQL And Streamlit - All In Python"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,616,747
net_rshares0