Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 26 additions & 9 deletions Installing-Oppia-(Linux;-Python-3).md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
## Table of Contents

* [Install prerequisites](#install-prerequisites)
* [Clone Oppia](#clone-oppia)
* [Setup a virtual environment](#setup-a-virtual-environment)
* [Running Oppia on a development server](#running-oppia-on-a-development-server)
* [Tips and tricks](#tips-and-tricks)
* [Notes on installation on Arch Linux systems](#notes-on-installation-on-arch-linux-systems)
* [Changes to installation prerequisites](#changes-to-installation-prerequisites)
* [Changes to the virtual environment setup](#changes-to-the-virtual-environment-setup)
- [Table of Contents](#table-of-contents)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We exclude the table of contents entry from the table of contents

- [Install prerequisites](#install-prerequisites)
- [Clone Oppia](#clone-oppia)
- [Setup a virtual environment](#setup-a-virtual-environment)
- [Running Oppia on a development server](#running-oppia-on-a-development-server)
- [Tips and tricks](#tips-and-tricks)
- [Notes on installation on Arch Linux systems](#notes-on-installation-on-arch-linux-systems)
- [Changes to installation prerequisites](#changes-to-installation-prerequisites)
- [Changes to the virtual environment setup](#changes-to-the-virtual-environment-setup)

**Note:** If you just want to create and share explorations, you may be able to use the hosted server at https://www.oppia.org (in which case you don't need to install anything).

Expand All @@ -33,7 +34,23 @@ bash scripts/install_prerequisites.sh

2. Verify that Java version 11+ is installed. You can use the command `java -version` to do this. (If you need to change the default binary for the `java` command on your machine, use `sudo update-alternatives --config java`.)

3. Install Chrome from [Google's website](https://www.google.com/chrome). You'll need this to run tests.
3. Install GraphicsMagick to enable local image compression and ensure tests run successfully. Follow the appropriate steps below based on your operating system:
- For Ubuntu/Debian systems:
```
sudo apt-get update
sudo apt-get install graphicsmagick
```
Comment on lines +37 to +42
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not just add graphicsmagick to the packages installed in step 1 and to scripts/install_prerequisites.sh? that seems simpler

- For MacOS:
```
brew install graphicsmagick
```
Comment on lines +43 to +46
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The macOS installation instructions should go in our separate macOS installation guide

After installation, verify that GraphicsMagick is correctly installed by running:
```
gm version
```
Comment on lines +47 to +50
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can skip this, as we don't confirm installation of any of our other prerequisites. Dropping this will also let you more easily fold this change into step 1

You should see version information printed in the terminal.

4. Install Chrome from [Google's website](https://www.google.com/chrome). You'll need this to run tests.


## Clone Oppia
Expand Down