Skip to content

Commit

Permalink
removed absolute links
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalan committed Jul 26, 2018
1 parent b9a6243 commit 0a64aa0
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions cli50.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# `cli50`

`cli50` is a command-line tool via which you can (easily!) mount a directory within a container running [`cs50/cli`](/cs50/cli), a Docker image based on Ubuntu 18.04, a popular distribution of Linux. We use `cli50` to work on CS50's own apps in a standard, contained environment, without having to install apps' dependencies on our own Macs and PCs. It provides a command-line environment similar, but not quite identical to, a terminal window on [CS50 IDE](/ide).
`cli50` is a command-line tool via which you can (easily!) mount a directory within a container running [`cs50/cli`](cs50/cli), a Docker image based on Ubuntu 18.04, a popular distribution of Linux. We use `cli50` to work on CS50's own apps in a standard, contained environment, without having to install apps' dependencies on our own Macs and PCs. It provides a command-line environment similar, but not quite identical to, a terminal window on [CS50 IDE](ide).

## Installation

1. Install [Docker](/docker), if you haven't already.
1. Install [Python 3.6](/python) or later, if you haven't already.
1. Install [`pip`](/pip), if you haven't already.
1. Install [Docker](docker), if you haven't already.
1. Install [Python 3.6](python) or later, if you haven't already.
1. Install [`pip`](pip), if you haven't already.
1. Install `cli50` itself:
```
pip install cli50
Expand Down Expand Up @@ -79,7 +79,7 @@ cli50 --fast

### Log into running container

If a container (based on any Docker image, [`cs50/cli`](/cs50/cli) or otherwise) is already running, you can spawn a login shell within it as follows:
If a container (based on any Docker image, [`cs50/cli`](cs50/cli) or otherwise) is already running, you can spawn a login shell within it as follows:

```
cli50 -l
Expand Down
2 changes: 1 addition & 1 deletion docker.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Docker

[CS50 IDE](/ide) and [`cli50`](/cli50) (as well as CS50's web apps) are implemented with [containers](https://www.docker.com/what-container), "a lightweight, stand-alone, executable package of a piece of software that includes everything needed to run it: code, runtime, system tools, system libraries, settings."
[CS50 IDE](ide) and [`cli50`](cli50) (as well as CS50's web apps) are implemented with [containers](https://www.docker.com/what-container), "a lightweight, stand-alone, executable package of a piece of software that includes everything needed to run it: code, runtime, system tools, system libraries, settings."

To run containers on your own Mac or PC, you just need to install a container platform like [Docker Community Edition](https://www.docker.com/what-docker) (CE), which is freely available for

Expand Down
4 changes: 2 additions & 2 deletions pip.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# `pip`

Most of CS50's command-line tools, including [`check50`](/check50), [`cli50`](/cli50), [`render50`](/render50), [`style50`](/style50), [`submit50`](/submit50), are implemented in Python and can be installed on your own Mac or PC via `pip`, a command-line tool via which you can install Python packages from [PyPI](https://pypi.org/), "the default [package index](https://packaging.python.org/glossary/#term-package-index) for the Python community."
Most of CS50's command-line tools, including [`check50`](check50), [`cli50`](cli50), [`render50`](render50), [`style50`](style50), [`submit50`](submit50), are implemented in Python and can be installed on your own Mac or PC via `pip`, a command-line tool via which you can install Python packages from [PyPI](https://pypi.org/), "the default [package index](https://packaging.python.org/glossary/#term-package-index) for the Python community."

If you already have [`python`](/python) installed, odds are you also have have `pip`. If not, you can install it for
If you already have [`python`](python) installed, odds are you also have have `pip`. If not, you can install it for

* Linux
* [Arch Linux](https://packaging.python.org/guides/installing-using-linux-tools/#arch-linux)
Expand Down
2 changes: 1 addition & 1 deletion python.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `python`

Most of CS50's command-line tools, including [`check50`](/check50), [`cli50`](/cli50), [`render50`](/render50), [`style50`](/style50), [`submit50`](/submit50), require that you have Python 3.6 or higher installed, since CS50 [uses f-strings](https://www.python.org/dev/peps/pep-0498/) and [assumes that keyword arguments are ordered](https://www.python.org/dev/peps/pep-0468/). (If you already have Python installed on your Mac or PC but didn't install it yourself, odds are it's a version older than 3.6.) You can install the latest version of Python, 3.7, for
Most of CS50's command-line tools, including [`check50`](check50), [`cli50`](cli50), [`render50`](render50), [`style50`](style50), [`submit50`](submit50), require that you have Python 3.6 or higher installed, since CS50 [uses f-strings](https://www.python.org/dev/peps/pep-0498/) and [assumes that keyword arguments are ordered](https://www.python.org/dev/peps/pep-0468/). (If you already have Python installed on your Mac or PC but didn't install it yourself, odds are it's a version older than 3.6.) You can install the latest version of Python, 3.7, for

* Linux, via [`pyenv`](https://github.com/pyenv/pyenv#installation)
* macOS, via [installer](https://www.python.org/ftp/python/3.7.0/python-3.7.0-macosx10.9.pkg) or [`pyenv`](https://github.com/pyenv/pyenv#homebrew-on-mac-os-x)
Expand Down
6 changes: 3 additions & 3 deletions render50.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ PDFs can be annotated (for free) with:

## Installation

1. Install [Docker](/docker), if you haven't already.
1. Install [Python 3.6](/python) or later, if you haven't already.
1. Install [`pip`](/pip), if you haven't already.
1. Install [Docker](docker), if you haven't already.
1. Install [Python 3.6](python) or later, if you haven't already.
1. Install [`pip`](pip), if you haven't already.
1. Install `render50` itself:
```
pip install render50
Expand Down

0 comments on commit 0a64aa0

Please sign in to comment.