mirror of
https://github.com/dtomlinson91/street_group_tech_test
synced 2025-12-22 11:55:45 +00:00
Deployed 8a0d808 with MkDocs version: 1.2.2
This commit is contained in:
@@ -358,8 +358,15 @@
|
||||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#poetry" class="md-nav__link">
|
||||
Poetry
|
||||
<a href="#pip" class="md-nav__link">
|
||||
Pip
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#poetry-alternative" class="md-nav__link">
|
||||
Poetry (Alternative)
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -600,8 +607,15 @@
|
||||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#poetry" class="md-nav__link">
|
||||
Poetry
|
||||
<a href="#pip" class="md-nav__link">
|
||||
Pip
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#poetry-alternative" class="md-nav__link">
|
||||
Poetry (Alternative)
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -627,18 +641,18 @@
|
||||
<p>The task is written in Python 3.7.9 using Apache Beam 2.32.0. Python versions 3.6.14 and 3.8.11 should also be compatible but have not been tested.</p>
|
||||
<p>The task has been tested on MacOS Big Sur and WSL2. The task should run on Windows but this wasn't tested.</p>
|
||||
<p>For Beam 2.32.0 the supported versions of the Python SDK can be found <a href="https://cloud.google.com/dataflow/docs/concepts/sdk-worker-dependencies#sdk-for-python">here</a>.</p>
|
||||
<h2 id="poetry">Poetry<a class="headerlink" href="#poetry" title="Permanent link">¶</a></h2>
|
||||
<p>The test uses <a href="https://python-poetry.org">Poetry</a> for dependency management.</p>
|
||||
<div class="admonition info inline end">
|
||||
<p class="admonition-title">Info</p>
|
||||
<p>If you already have Poetry installed globally you can go straight to the <code>poetry install</code> step.</p>
|
||||
</div>
|
||||
<p>In a virtual environment install poetry:</p>
|
||||
<div class="highlight"><pre><span></span><code>pip install poetry
|
||||
<h2 id="pip">Pip<a class="headerlink" href="#pip" title="Permanent link">¶</a></h2>
|
||||
<p>In a virtual environment run from the root of the repo:</p>
|
||||
<div class="highlight"><pre><span></span><code>pip install -r requirements.txt
|
||||
</code></pre></div>
|
||||
<h2 id="poetry-alternative">Poetry (Alternative)<a class="headerlink" href="#poetry-alternative" title="Permanent link">¶</a></h2>
|
||||
<p>Install <a href="https://python-poetry.org">Poetry</a> <em>globally</em></p>
|
||||
<p>From the root of the repo install the dependencies with:</p>
|
||||
<div class="highlight"><pre><span></span><code>poetry install --no-dev
|
||||
</code></pre></div>
|
||||
<p>Activate the shell with:</p>
|
||||
<div class="highlight"><pre><span></span><code>poetry shell
|
||||
</code></pre></div>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user