Git Product home page Git Product logo

phase-0-configuring-the-flatiron-student-portal's Introduction

Configuring the Flatiron Student Portal

The learn-co Gem

The learn-co gem is a tool that simplifies the process of completing labs and submitting your work in Canvas. Under the hood, this process consists of a number of steps:

  1. Fork (create your own copy of) the assignment's repo on GitHub.

  2. Clone your copy of the repo down to your local machine.

  3. Run a command (npm install for JavaScript labs, bundle install for Ruby labs) to install any necessary dependencies for the repository (...tools others have built to make things easier for us).

  4. Run npm test (JavaScript) or rspec (Ruby) to run tests.

  5. Use git commands to commit your changes and push them up to your repo on GitHub.

  6. Submit a link to your GitHub repo in Canvas to get credit for completing the lab.

The learn-co gem will handle several of these steps for you automatically, substantially simplifying the workflow so you can focus your attention on learning to code. You will learn how to complete and submit assignments using the gem in the next section; for now, let's get it installed and ready to use.

Install the learn-co Gem

To install the gem, open the "Terminal" application (or "Ubuntu" for WSL users) and run this command:

$ gem install learn-co

Before we can use the gem, we'll need to do two things:

  • Connect your Flatiron School Portal account to GitHub
  • Connect the local gem to your Flatiron School Portal account

Connect Your GitHub Account to your Flatiron School Portal Account

Action Item

  1. Open Flatiron School's Base Account Management page (https://base.flatironschool.com/account/manage)
  2. Connect your GitHub account to your Flatiron School Portal account

Your Account Management page should now look similar to this:

Github Successfully Connected

Configure the learn-co Gem

This step will ask you to do work both in your browser and your terminal.

Action Item

  1. Open the "Terminal" application (or "Ubuntu" for WSL users).
  2. Type touch ~/.netrc && chmod 0600 ~/.netrc and press <Enter>. (Note: you may be asked to enter your password.)
  3. Open Flatiron School's Base Account Management page (https://base.flatironschool.com/account/manage)
  4. Click the icon under "OAuth Token" to reveal your GitHub OAuth token.
  5. Copy the string of characters under the "OAuth Token" header.
  6. Go back to the terminal, type learn whoami and press <Enter>.
  7. Paste the string of characters at the prompt and press <Enter>.

Check Your Work

Type learn whoami in the terminal. If you see a message with your name, username, and email, continue to the next lesson, Verify and Troubleshoot Your Environment Setup.

phase-0-configuring-the-flatiron-student-portal's People

Contributors

ihollander avatar lizbur10 avatar maxwellbenton avatar timothylevi avatar timothylevi-test avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phase-0-configuring-the-flatiron-student-portal's Issues

Testing file has been removed or the directions are not clear.

Canvas Link

https://learning.flatironschool.com/courses/5055/assignments/152486?confetti=true&submitted=0

Concern

A student in [2021-11-SENG-PREWORK-SOFTWARE-ENGINEERING-PREWORK] told me they are unable to run learn test and I explained that it is because this repo does not contain a testing file. It is described in the attached lesson as something they should be able to do and receive a result for.

Additional Context

No response

Suggested Changes

Restructure the Using the learn-co Gem part of this lesson to be descriptive of what this process would feel like (so much so that a new student can reference the Using the learn-co Gem info to use the gem in future lessons) or add in a testing file so that what is being described in the lesson will actually happen for the student.

username incorrect?

when I configured my learn-co gem and copied and pasted my oath token, then put whoami in the terminal, my name and email were correct (Manny Walker, [email protected]) but my username came up as jovial-actor-4c2a. Is this a default username? I thought that my username was amawalke. Please advise.

Forking this assignmet

Thanks for raising this issue! Future learners thank you for your diligence. In
order to help the curriculum team address the problem, please use this template
to submit your feedback. We'll work on addressing the issue as soon as we can.

Please fill out as much of the information below as you can (it's ok if you
don't fill out every section). The more context we have, the easier it will be
to fix your issue!

Note: you should only raise issues related to the contents of this lesson.
If you have questions about your code or need help troubleshooting, reach out to
an instructor/your peers.


Link to Canvas

Add a link to the assignment in Canvas here.

What should be changed?

Suggest your change here. Let us know what section or line of the Readme needs
to be updated, and any proposed corrections. Include the line number(s) if
possible.

Hello! I found this assignment to very difficult, because I forked it in the beginning. My normal process to doing the modules is to fork first, set up my environment, and then dive in. I read this lesson several times over and was still very confused about the objectives and how my work would be submitted. Had I known that it would be automatically forked for me after completing the necessary steps would have been very helpful. . My suggestion for this lesson is to possibly put in a message at the top in big bright font to "hold off on forking until later instructed to do so with the lesson," and then give some information from the start about how when completed the work will be submitted and completed automatically through running learn test.

Additional context

Add any other context about the problem here.

getting a weird error

Canvas Link

https://learning.flatironschool.com/courses/5166/assignments/159346?module_item_id=341675

Concern

/home/tony/.rbenv/versions/3.0.1/lib/ruby/3.0.0/fileutils.rb:206:in mkdir_p': wrong number of arguments (given 2, expected 1) (ArgumentError) from /home/tony/.ruby/gems/learn-test-3.3.1/lib/learn_test/git/wip/reference.rb:18:in initialize'
from /home/tony/.ruby/gems/learn-test-3.3.1/lib/learn_test/git/wip/base.rb:27:in new' from /home/tony/.ruby/gems/learn-test-3.3.1/lib/learn_test/git/wip/base.rb:27:in initialize'
from /home/tony/.ruby/gems/learn-test-3.3.1/lib/learn_test/git.rb:13:in new' from /home/tony/.ruby/gems/learn-test-3.3.1/lib/learn_test/git.rb:13:in wip'
from /home/tony/.ruby/gems/learn-test-3.3.1/lib/learn_test/reporter.rb:61:in report' from /home/tony/.ruby/gems/learn-test-3.3.1/lib/learn_test/reporter.rb:13:in report'
from /home/tony/.ruby/gems/learn-test-3.3.1/lib/learn_test/runner.rb:49:in report_and_clean' from /home/tony/.ruby/gems/learn-test-3.3.1/lib/learn_test/runner.rb:22:in block in run'
from /home/tony/.ruby/gems/learn-test-3.3.1/lib/learn_test/runner.rb:21:in fork' from /home/tony/.ruby/gems/learn-test-3.3.1/lib/learn_test/runner.rb:21:in run'
from /home/tony/.ruby/gems/learn-test-3.3.1/bin/learn-test:73:in <top (required)>' from /home/tony/.ruby/bin/learn-test:23:in load'
from /home/tony/.ruby/bin/learn-test:23:in `

'

Additional Context

Ran learn got a weird error

Suggested Changes

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.