Skip to content

Getting Started Guide

Bilka edited this page Oct 29, 2024 · 20 revisions

Table of Contents

Set up the software

First, you'll need to set up a copy of the otwarchive software. The recommended way to do this is with our local Docker development environment or with Gitpod in the cloud. However, experienced developers can also install and run the software directly on macOS and Linux.

Download and configure a text editor

You will need a good text editor on your computer to edit the code. There are many freeware and cheap options:

  • Linux: gedit, kedit (both free, already installed in most cases)
  • Mac OS X: BBEdit (~$50, free option), TextMate (~$60)
  • Windows: Notepad++ (free)
  • All Platforms: Sublime Text (free never-ending trial, $70 to get rid of license reminder)
  • All Platforms: Official OTW volunteers can also use the Archive's OpenSource license for JetBrains' RubyMine, a full-fledged IDE which allows you to debug code, manage remote repositories and Git, all from within one package.
  • All Platforms: Visual Studio Code (free)

Whatever text editor you pick, you need to configure its settings or preferences so that you edit with the same style as all the other coders.

Change the settings/preferences to:

  • convert all tabs to spaces
  • make tabs 2 spaces wide
  • use UTF-8 encoding (without byte-order mark, if that is offered as an option)
  • use UNIX end-of-line characters (LF)

Learn Ruby and Git

If you're new to Ruby on Rails -- or if your skills are a little rusty -- there are a number of resources that can help:

There are also a variety of resources that can help you familiarize (or re-familiarize!) yourself with Git:

Find an issue to work on

We have a set of tickets in Jira reserved for first time coders. Feel free to pick up one of those if you'd like an issue that will let you focus on setting up the development environment instead of getting into the nitty gritty of the codebase. You can also freely browse the open, unassigned issues or pick from the smaller list of Issues seeking coders.

Submitting code

If you're ready to write and submit some code, don't forget to adhere to our code style standards and review our commit policy and Contributing Guidelines.