Skip to content

Commit

Permalink
Add instructions for upgrading via pip, using a zsh alias
Browse files Browse the repository at this point in the history
  • Loading branch information
sdouglas committed Jan 27, 2022
1 parent e0e3ac2 commit 78e9a18
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

## Installation

**OS X**
**macOS**
* Install [homebrew](https://brew.sh/)
* Install python3: `brew install python3`
* Create a virtualenv: `python3 -m venv ~/virtualenvs/cn24x`
* Activate virtualenv: `source ~/virtualenvs/cn24x/bin/activate`
* Install via pip: `pip3 install cadnano2`

**Windows**
**Windows** (not tested)
* Download and install latest [python3](https://www.python.org/downloads/)
* `pip3 install cadnano2`

Expand All @@ -26,6 +26,16 @@
* Activate virtual env: `source ~/virtualenvs/cn24x/bin/activate`
* Run the app: `cadnano2`

**macOS alias**
* Add to `~/.zprofile`: `alias cn2="source ~/virtualenvs/cn24x/bin/activate && cadnano2"`
* Open new Terminal and run: `cn2`

## Upgrading
* Open the Terminal
* Activate virtual env: `source ~/virtualenvs/cn24x/bin/activate`
* Upgrade via pip: `pip install --upgrade cadnano2`


## Development

**Setup a dev environment**
Expand Down

0 comments on commit 78e9a18

Please sign in to comment.