Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lets Program - A practical guide

Lets Program - A practical guide

A getting started guide for the Rails Girls event in Syd Nov-2017 to get ready to install/setup rails.

Garrett Heinlen

November 04, 2017
Tweet

More Decks by Garrett Heinlen

Other Decks in Technology

Transcript

  1. This is Sam Sam is smart. Sam has a lot

    of interests. Sam is cool. Sam is great at some things.
  2. This is Alex! Alex is smart. Alex has a lot

    of interests. Alex is cool. Likewise, Alex is great other things.
  3. Sam has a problem. Sam does not like doing the

    same thing over and over. Sam sometimes needs help remembering things.
  4. Alex loves doing thing over and over exactly the same

    way! Alex almost never forgets! Alex can help to remind Sam!
  5. Algorithm is a fancy word that means: define the steps

    to take to perform the task We follow algorithms everyday!
  6. Algorithm: Get ready for work — Wake up — Shower

    — Put on clothes — Eat breakfast — Brush teeth — Catch the train — Get a coffee — Arrive at work
  7. Oh, thats simple. Thats just my morning routine. I am

    a programmer! Not quite, but we're well on our way!
  8. We need to create an algorithm that Alex can run.

    When Alex runs the steps Sam gives - we're executing a program! Now that's programming!
  9. How do we speak with Alex? Alex understands and works

    with a specific set of instructions.
  10. Terminal Common commands — ls - list — cd —

    mkdir folder_name — touch file_name
  11. Terminal Common commands — ls - list — cd -

    change directory/folder — mkdir folder_name — touch file_name
  12. Terminal Common commands — ls - list — cd -

    change directory/folder — mkdir folder_name - make directory/folder — touch file_name
  13. Terminal Common commands — ls - list — cd -

    change directory/folder — mkdir folder_name - make directory/folder — touch file_name - create a file
  14. Some pro-tips — Ask questions — Google — Take care

    for computer symbols: — Normally if it starts with a thing, it ends with the same thing, — ' is not the same as " ie. "Hello" 'Hello" — [], (), {}, etc. — Run rails server in one tab, run commands in another — Ask questions