add links to github repo and better format the installation instructions

This commit is contained in:
David Dworken 2022-04-09 00:33:20 -07:00
parent f02033afeb
commit f7627d3e77
2 changed files with 14 additions and 8 deletions

View File

@ -18,6 +18,7 @@ import (
) )
const ( const (
// This password is for the postgres cluster running in my k8s cluster that is not publicly accessible. Some day I'll migrate it out of the code and rotate the password, but until then, this is fine.
PostgresDb = "postgresql://postgres:O74Ji4735C@postgres-postgresql.default.svc.cluster.local:5432/hishtory?sslmode=disable" PostgresDb = "postgresql://postgres:O74Ji4735C@postgres-postgresql.default.svc.cluster.local:5432/hishtory?sslmode=disable"
) )

View File

@ -102,15 +102,17 @@
<div class="tab-pane active" id="install-first" role="tabpanel" aria-labelledby="home-tab"> <div class="tab-pane active" id="install-first" role="tabpanel" aria-labelledby="home-tab">
<br> <br>
To install hishtory on your first machine:<br> To install hishtory on your first machine:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <code>curl -L -o hishtory https://api.hishtory.dev/download/hishtory-linux-amd64; chmod +x <code>&nbsp;&nbsp;&nbsp;&nbsp;curl -L -o hishtory https://api.hishtory.dev/download/hishtory-linux-amd64<br>
hishtory; ./hishtory install</code> &nbsp;&nbsp;&nbsp;&nbsp;chmod +x hishtory<br>
&nbsp;&nbsp;&nbsp;&nbsp;./hishtory install</code>
</div> </div>
<div class="tab-pane" id="install-second" role="tabpanel" aria-labelledby="profile-tab"> <div class="tab-pane" id="install-second" role="tabpanel" aria-labelledby="profile-tab">
<br> <br>
To install hishtory on your second machine, you must first retrieve your secret key from first first machine. To do so, run To install hishtory on your second machine, you must first retrieve your secret key from first first machine. To do so, run
<code>hishtory status</code> and copy your "Secret Key". Then to install it on your second machine:<br> <code>hishtory status</code> and copy your "Secret Key". Then to install it on your second machine:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <code>curl -L -o hishtory https://api.hishtory.dev/download/hishtory-linux-amd64; chmod +x <code>&nbsp;&nbsp;&nbsp;&nbsp;curl -L -o hishtory https://api.hishtory.dev/download/hishtory-linux-amd64<br>
hishtory; ./hishtory install $YOUR_HISHTORY_SECRET</code> &nbsp;&nbsp;&nbsp;&nbsp;chmod +x hishtory<br>
&nbsp;&nbsp;&nbsp;&nbsp;./hishtory install $YOUR_HISHTORY_SECRET</code>
</div> </div>
</div> </div>
</div><br> </div><br>
@ -151,9 +153,10 @@
<div id="collapseOne" class="collapse" aria-labelledby="headingOne" data-parent="#accordionExample"> <div id="collapseOne" class="collapse" aria-labelledby="headingOne" data-parent="#accordionExample">
<div class="card-body"> <div class="card-body">
This is up to you to judge, but in my opinion: Yes! All data is end-to-end encrypted with a key that never leaves your This is up to you to judge, but in my opinion: Yes! All data is end-to-end encrypted with a key that never leaves your
computer(s). The code is OSS and verifiably built as <a href='https://slsa.dev/'>SLSA Level 3</a> so you can verify that computer(s). The code is <a href='https://github.com/ddworken/hishtory'>OSS</a> and verifiably built as <a href=
the software you're running is the code on Github, and that it in fact does not share any of your private data. In 'https://slsa.dev/'>SLSA Level 3</a> so you can verify that the software you're running is the code on Github, and that
addition, the backend server is OSS so you can verify how it works. it in fact does not share any of your private data. In addition, the backend server is OSS so you can verify how it
works.
</div> </div>
</div> </div>
</div> </div>
@ -177,7 +180,8 @@
</div> </div>
<div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample"> <div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample">
<div class="card-body"> <div class="card-body">
Yes! This is just a hobby project for me that I use, and I hope other people get some use out of. Yes! This is just a hobby project for me that I use, and I hope other people get some use out of. It is also <a href=
'https://github.com/ddworken/hishtory'>OSS</a>, so feel free to fork it and self-host!
</div> </div>
</div> </div>
</div> </div>
@ -208,6 +212,7 @@
<footer class="bg-light py-5"> <footer class="bg-light py-5">
<div class="container"> <div class="container">
<div class="small text-center text-muted"> <div class="small text-center text-muted">
<a href='https://github.com/ddworken/hishtory'>github.com/ddworken/hishtory</a><br>
Copyright © 2022 - David Dworken Copyright © 2022 - David Dworken
</div> </div>
</div> </div>