Skip to content

Commit

Permalink
deploy: 90a91c2
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioPinheiro committed Dec 13, 2024
1 parent 8de59d6 commit 88f0138
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
22 changes: 11 additions & 11 deletions 02-quickstart/01-setup-environment.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ <h2 id="scala-cli-on-docker" class="section"><a class="anchor-link left" href="#
<p>Start an isolated environment to experiment with some code samples (3/5 mins)</p>
<p><code>docker run --rm -it --entrypoint /bin/sh virtuslab/scala-cli</code></p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span>scala-cli repl \
--dependency app.fmgp::did::</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-SNAPSHOT \
--dependency app.fmgp::did-imp::</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-SNAPSHOT \
--dependency app.fmgp::did-method-peer::</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-SNAPSHOT \
--dependency app.fmgp::did::</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-SNAPSHOT \
--dependency app.fmgp::did-imp::</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-SNAPSHOT \
--dependency app.fmgp::did-method-peer::</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-SNAPSHOT \
--repo https://oss.sonatype.org/content/repositories/releases

</span><span class="comment"># For snapshots use
Expand All @@ -142,19 +142,19 @@ <h2 id="scala-cli-on-docker" class="section"><a class="anchor-link left" href="#

<h2 id="sbt-setup" class="section"><a class="anchor-link left" href="#sbt-setup"><i class="icofont-laika link">&#xef71;</i></a>SBT setup</h2>
<p>To install the library on <code>sbt</code>, you can use the following lines to your <code>build.sbt</code>:</p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-</span><span class="type-name">SNAPSHOT</span><span>
</span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-imp&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for the DIDComm implementation
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-resolver-peer&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for hash utils</span></code></pre>
<pre class="keep-together pdf epub"><code class="nohighlight"><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-</span><span class="type-name">SNAPSHOT</span><span>
</span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-imp&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for the DIDComm implementation
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-resolver-peer&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for hash utils</span></code></pre>
<p>In a crossProject for the JSPlatform and JVMPlatform this shoud use this instead:</p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %%% </span><span class="string-literal">&quot;did&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-</span><span class="type-name">SNAPSHOT</span><span>
</span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %%% </span><span class="string-literal">&quot;did-imp&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for the DIDComm implementation
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %%% </span><span class="string-literal">&quot;did-resolver-peer&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for hash utils</span></code></pre>
<pre class="keep-together pdf epub"><code class="nohighlight"><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %%% </span><span class="string-literal">&quot;did&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-</span><span class="type-name">SNAPSHOT</span><span>
</span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %%% </span><span class="string-literal">&quot;did-imp&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for the DIDComm implementation
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %%% </span><span class="string-literal">&quot;did-resolver-peer&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for hash utils</span></code></pre>

<h2 id="coursier-download" class="section"><a class="anchor-link left" href="#coursier-download"><i class="icofont-laika link">&#xef71;</i></a>Coursier Download</h2>
<pre class="keep-together pdf epub"><code class="nohighlight"><span>coursier fetch app.fmgp:did_</span><span class="number-literal">3</span><span>:</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-SNAPSHOT -r sonatype:snapshots
<pre class="keep-together pdf epub"><code class="nohighlight"><span>coursier fetch app.fmgp:did_</span><span class="number-literal">3</span><span>:</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-SNAPSHOT -r sonatype:snapshots
</span><span class="comment"># -r https://oss.sonatype.org/content/repositories/snapshots
</span><span>
coursier fetch app.fmgp:did_</span><span class="number-literal">3</span><span>:</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-SNAPSHOT -r sonatype:public
coursier fetch app.fmgp:did_</span><span class="number-literal">3</span><span>:</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-SNAPSHOT -r sonatype:public
</span><span class="comment"># -r https://oss.sonatype.org/content/repositories/releases</span></code></pre>


Expand Down
12 changes: 6 additions & 6 deletions 02-quickstart/02-install-dependency.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ <h1 id="import-library" class="title">Import Library</h1>

<h2 id="getting-started-with-scala-did" class="section"><a class="anchor-link left" href="#getting-started-with-scala-did"><i class="icofont-laika link">&#xef71;</i></a>Getting Started with Scala-did</h2>
<p>To install ScalaDID in a scala project</p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for DID and DID Comm
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-imp&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for crypto implementation
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-framework&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">//for utils
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-method-peer&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for resolver of the did method `peer`
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-method-web&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for resolver the did method `web`
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-uniresolver&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">59</span><span>-9bb03a6b-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for calling the resolver uniresolver</span></code></pre>
<pre class="keep-together pdf epub"><code class="nohighlight"><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for DID and DID Comm
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-imp&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for crypto implementation
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-framework&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">//for utils
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-method-peer&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for resolver of the did method `peer`
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-method-web&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for resolver the did method `web`
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-uniresolver&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M25</span><span>+</span><span class="number-literal">61</span><span>-90a91c</span><span class="number-literal">20</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for calling the resolver uniresolver</span></code></pre>
<p>In a crossProject for the JSPlatform and JVMPlatform this should be <code>%%%</code> instead of <code>%%</code></p>
<p>You can check the latest available of versions (for JVM and JS) in here:</p>
<p><img src="https://img.shields.io/maven-central/v/app.fmgp/did_3" alt="Maven Central">
Expand Down
Loading

0 comments on commit 88f0138

Please sign in to comment.