Skip to content

Commit

Permalink
Document MacPorts and Fink
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 22, 2015
1 parent 3b20af0 commit be6bf58
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions stories/getting-started.html
Expand Up @@ -52,21 +52,31 @@ <h4 class="panel-title"><a role="button" data-toggle="collapse" data-parent="#ac
</div>
<div id="collapseMac" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingMac">
<div class="panel-body">
<p>Installing Nikola on OS X is easy. There are two ways to accomplish this:</p>
<p>Installing Nikola on OS X is easy. You can use Homebrew, MacPorts, Fink, or perform a standalone installation using the system Python.</p>
<h5>With <a href="http://brew.sh/">Homebrew</a> (recommended)</h5>
<p>If you have Homebrew installed, skip the first step. If you have Python installed from Homebrew, skip the second step.</p>
<ol>
<li>Install <a href="http://brew.sh/">Homebrew</a>.
</li>
<li>Run <code class="gs-code gs-command">brew install python</code></li>
<li>Install <a href="http://brew.sh/">Homebrew</a>.</li>
<li>Install Python (and pip) with <code class="gs-code gs-command">brew install python</code></li>
<li>Install virtualenv with <code class="gs-code gs-command">pip install virtualenv</code></li>
<li>Follow the instructions on the right.</li>
</ol>
<h5>Standalone</h5>
<h5>With <a href="https://www.macports.org/">MacPorts</a></h5>
<ol>
<li>Install <a href="https://www.macports.org/">MacPorts</a>.</li>
<li>Install pip (and Python) with <code class="gs-code gs-command">sudo port install py-pip</code></li>
<li>Install virtualenv with <code class="gs-code gs-command">sudo port install py-virtualenv</code></li>
<li>Follow the instructions on the right.</li>
</ol>
<h5>With <a href="http://www.finkproject.org/">Fink</a></h5>
<ol>
<li>Install <a href="http://www.finkproject.org/">Fink</a>.</li>
<li>Install pip, virtualenv and Python with <code class="gs-code gs-command">sudo fink install pip-py27 virtualenv-py27</code></li>
<li>Follow the instructions on the right.</li>
</ol>
<h5>Standalone (advanced)</h5>
<p>You can skip steps 3 and 4 if you use <code class="gs-code gs-command">~/Library/Python/2.7/bin/virtualenv</code> as your virtualenv command.</p>
<ol>
<li>Install <a href="https://itunes.apple.com/app/xcode/id497799835">Xcode</a> (free) from the App Store.
</li>
<li>Install <a href="https://itunes.apple.com/app/xcode/id497799835">Xcode</a> (free) from the App Store.</li>
<li>Install pip and virtualenv with <code class="gs-code gs-command">easy_install --user --upgrade --always-copy pip virtualenv</code></li>
<li>Update your $PATH with <code class="gs-code gs-command">echo 'export PATH="~/Library/Python/2.7/bin:$PATH"' &gt;&gt; ~/.bash_profile</code></li>
<li>Reload your profile with <code class="gs-code gs-command">source ~/.bash_profile</code></li>
Expand Down

0 comments on commit be6bf58

Please sign in to comment.