Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
medic-ci committed Nov 13, 2024
1 parent 4392faf commit aaea1d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions building/local-setup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@
</span></span><span class=line><span class=cl><span class=nb>export</span> <span class=nv>nvm_version</span><span class=o>=</span><span class=sb>`</span>curl -s https://api.github.com/repos/nvm-sh/nvm/releases/latest <span class=p>|</span> jq -r .name<span class=sb>`</span>
</span></span><span class=line><span class=cl>curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/<span class=nv>$nvm_version</span>/install.sh <span class=p>|</span> <span class=nv>$SHELL</span>
</span></span><span class=line><span class=cl>. ~/.<span class=k>$(</span>basename <span class=nv>$SHELL</span><span class=k>)</span>rc
</span></span><span class=line><span class=cl>nvm install <span class=m>20</span></span></span></code></pre></div></div><div class="tab-pane fade" id=tabs-05-01 role=tabpanel aria-labelled-by=tabs-05-01-tab tabindex=5><div class=highlight><pre tabindex=0 class=chroma><code class=language-shell data-lang=shell><span class=line><span class=cl><span class=c1># Uses Homebrew: https://brew.sh/</span>
</span></span><span class=line><span class=cl>nvm install <span class=m>22</span></span></span></code></pre></div></div><div class="tab-pane fade" id=tabs-05-01 role=tabpanel aria-labelled-by=tabs-05-01-tab tabindex=5><div class=highlight><pre tabindex=0 class=chroma><code class=language-shell data-lang=shell><span class=line><span class=cl><span class=c1># Uses Homebrew: https://brew.sh/</span>
</span></span><span class=line><span class=cl>brew update
</span></span><span class=line><span class=cl>brew install curl jq pyenv git make node@20 gcc openssl readline sqlite3 xz zlib tcl-tk
</span></span><span class=line><span class=cl>brew install curl jq pyenv git make node@22 gcc openssl readline sqlite3 xz zlib tcl-tk
</span></span><span class=line><span class=cl><span class=c1># Python no longer included by default in macOS &gt;12.3</span>
</span></span><span class=line><span class=cl>pyenv install <span class=m>3</span>
</span></span><span class=line><span class=cl>pyenv global <span class=m>3</span>
Expand All @@ -359,7 +359,7 @@
</span></span><span class=line><span class=cl><span class=nb>export</span> <span class=nv>nvm_version</span><span class=o>=</span><span class=sb>`</span>curl -s https://api.github.com/repos/nvm-sh/nvm/releases/latest <span class=p>|</span> jq -r .name<span class=sb>`</span>
</span></span><span class=line><span class=cl>curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/<span class=nv>$nvm_version</span>/install.sh <span class=p>|</span> <span class=nv>$SHELL</span>
</span></span><span class=line><span class=cl>. ~/.<span class=k>$(</span>basename <span class=nv>$SHELL</span><span class=k>)</span>rc
</span></span><span class=line><span class=cl>nvm install <span class=m>20</span></span></span></code></pre></div></div></div><h4 id=pyxform><code>pyxform</code><a class=td-heading-self-link href=#pyxform aria-label="Heading self-link"></a></h4><p>Using python on your terminal, install <code>pyxform</code> globally using the command below. Ensure you create and activate an environment for python3.</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-shell data-lang=shell><span class=line><span class=cl>sudo python3 -m pip install git+https://github.com/medic/[email protected]#egg<span class=o>=</span>pyxform-medic
</span></span><span class=line><span class=cl>nvm install <span class=m>22</span></span></span></code></pre></div></div></div><h4 id=pyxform><code>pyxform</code><a class=td-heading-self-link href=#pyxform aria-label="Heading self-link"></a></h4><p>Using python on your terminal, install <code>pyxform</code> globally using the command below. Ensure you create and activate an environment for python3.</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-shell data-lang=shell><span class=line><span class=cl>sudo python3 -m pip install git+https://github.com/medic/[email protected]#egg<span class=o>=</span>pyxform-medic
</span></span></code></pre></div><p>If you encounter the error <code>npm ERR! gyp ERR verb find Python Python is not set</code> while installing pyxform and are running macOS, see <a href=/contribute/code/core/dev-environment/#macos--123>this troubleshooting section</a>.</p><h4 id=cht-conf><code>cht-conf</code><a class=td-heading-self-link href=#cht-conf aria-label="Heading self-link"></a></h4><p>Using npm on your terminal, install <code>cht-conf</code> globally using the command below.</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-shell data-lang=shell><span class=line><span class=cl>npm install -g cht-conf
</span></span></code></pre></div><figure class="right col-6 col-lg-8"><a href=confirm-cht-conf.png><img src=confirm-cht-conf.png></a></figure><p>You can confirm that the installation was successful by typing <code>cht</code> in your terminal.</p><p>If you have trouble installing <code>cht-conf</code>, see the application&rsquo;s <a href=https://github.com/medic/cht-conf>GitHub repository</a> for more information.</p><p>Using the terminal (or the WSL shell on Windows: <em>Start > wsl</em>), run the following commands from within your project directory (created above) to bootstrap your new CHT project:</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-shell data-lang=shell><span class=line><span class=cl><span class=nb>cd</span> ~/cht-project
</span></span><span class=line><span class=cl>cht initialise-project-layout
Expand Down
Loading

0 comments on commit aaea1d4

Please sign in to comment.