Forum: Help Guide

These is the help page for the open source forum.

You need to install 3 things. I’ve given a step-by-step guide below

I’ve also given some links to some resources for you to learn more.

And I’ve given some commands that I’ve found helpful and that you should probably know from the beginning.

Installing

How to install the 3 pieces of software.

  • Ruby
    • Mac
      • Already Installed
    • Windows
    • Linux
      • “sudo apt-get install ruby”
      • “sudo apt-get install rake”
  • Ruby Gems
    • Type “Gem” into command line. RubyGems is installed
    • If its not installed then download a copy from this page Download RubyGems Terminal to location of download, then run “ruby setup.rb”
    • On Linx you can alternatively type “sudo apt-get install rubygems”
    • Step by Step Guide
      Make sure to update gem update —system
  • Rails
    • Go to command line and type “gem install rails”
    • On linux you can alternatively you can type “sudo apt-get install rails”
    • Guide page
  • sqlite (if it isn’t installed)

    • Windows
    • Linux
      • “sudo apt-get install sqlite”
  • GIT

Commands

Some helpful commands to know.

  • Rails Commands
    • Start a test server – “script/server”
    • Start in interactive console – “script/console” (Useful for debugging)
  • Git Commands
    • Check the current branch status – “git status”
    • Add all files in the current directory to be committed – “git add .”
    • Commit the files to the master – “git commit”
    • Push all the files in the master to the remote server – “git push origin master”

Resources

Some helpful things to read