Hello, everyone,
Many Open Source projects (including ours) use UNIX-based tools and programs. Therefore, it's important for new developers to learn how to set up a programming environment on their computers that can make use of these programs.
Because we are focused on web development, the tools you need to install are web programs.
What to Install in your Programming Environment- Ruby on Rails
- Git
- SQLite
How-To Setup a UNIX-friendly Programming Environment - Windows Setup:
- The easiest way to set up your Windows machine for Open Source development is to install Cygwin: https://www.cygwin.com/
- Cygwin is a UNIX-emulator for Windows. Cygwin allows you to install and use UNIX-based tools on your Windows machine, including: Ruby on Rails, SQLite, and Git
- Why UNIX? The majority of Open Source projects and tools are built for UNIX, such as the programming environments we'll be using in #HourofCode this quarter. Windows is DOS-based, and can't run UNIX-based programs directly. Cygwin allows us to get around this limitation!
- Watch this video about installing Cygwin if you've missed the in-person demonstration
- Note: this video shows installing programs in addition to those listed above (i.e. Ruby on Rails, SQLite, and Git). I'd recommend installing the same programs he does in the video, but don't forget to also install Ruby on Rails, SQLite, and Git. You can search for them like he does in the Select Packages part of the installation by using the Search box (at the top of the window).
- If you forget to install anything during the step, re-run the installer and select the additional packages you want (as below).
- Making updates to Cygwin
- Hold onto / Re-download the Cygwin Installer after setting it up initially
- Run the installer again
- Select the packages you want to add to your current installation
- Be careful not to remove (un-check) packages you already have installed; if you do, Cygwin will uninstall those packages
- Mac OS X Setup:
- Mac OS X is UNIX-based, so the setup is a bit different.
- First, download and install Xcode Tools: https://developer.apple.com/xcode/downloads/
- Next, you'll need to install a package manager for your Terminal app.
- Package managers allow you to easily install and update UNIX command line applications, such as Ruby on Rails and Git.
- I recommend the Homebrew Package Manager: http://brew.sh/
- Once you install Homebrew, search the list of available packages you can install at: http://braumeister.org/
- To install a new package, use the following format: "brew install <package_name>"
Git Refresher
This is fairly brief because there isn't a lot of content to cover. If you do the exercises below, you will be well-prepared to work with Git in our group project.
- Complete exercises 1.1 through 1.12
- Scroll down or go to directly to the README.md file to see Instructions for practicing Git using our GitHub demo.
Thanks, all! Happy Coding!