Code Monkey home page Code Monkey logo

oo-student-scraper-v-000's Issues

Issues with Learn web page

As a quick aside, the following aren't specific to this lab, but I was told to create the issue on this repo.

  1. The Learn page isn't refreshing when I fork a lab or run local tests until I refresh the page. However, I didn't always have this issue; when I first enrolled at Flatiron, both of those things happened without reloading the page.

  2. Perhaps more pressing, is that (at least with this lab, the Tic Tac Toe with AI lab, and Music Library CLI lab) running only one of the local tests (i.e. learn spec/whatever_spec.rb) and then refreshing the coordinating web page on Learn would show that I had completed the entire lab and that I could then move on. (Don't worry; I didn't move on without completing all of the necessary requirements :P) I'm afraid that this could be misleading/problematic in the future for other students, so I just wanted the issue known if it wasn't already.

Missing Tests

Missing Tests for Class Method: student.create_from_collection and student.all

Can't run jekyll serve and httpserve together on ILE

The instructions suggest running jekyll serve & and httpserver & in the Learn ILE but the ILE only allows one port, 3024 and so they conflict. A more elegant way to run Jekyll in the background is jekyll serve --detach and it can't be run with httpserver

Outdated nokogiri gem version

Bundle Install couldn't find the nokogiri version in Gemfile. Most popular version currently is 1.6.8.1 on rubygems.org.

Using bundler 1.13.6
Installing nokogiri 1.6.6.2 with native extensions
^C[05:55:54] (master) oo-student-scraper-v-000
// โ™ฅ learn
Your bundle is locked to nokogiri (1.6.6.2), but that version could not be found in any of the s
ources listed in your Gemfile. If you haven't changed sources, that means the author of nokogiri
(1.6.6.2) has removed it. You'll need to update your bundle to a different version of nokogiri
(1.6.6.2) that hasn't been removed in order to install.
Run bundle install to install missing gems.

Error in Scraper Spec profile URLs

Was working with a student who passed all the tests, but could not run his app in the terminal with ruby bin/run. This was because it the app couldn't find the directory of the files to open and scrape. Adding './fixtures/student-site/ to the scraped profile urls in the Scraper class fixed the problem, but caused the tests to fail.

# scraper_spec.rb

 let!(:student_index_array) {
[{:name=>"Joe Burgess", :location=>"New York, NY", :profile_url=>"students/joe-burgess.html"}, ...]
} 

Changing the profile urls from :profile_url=>"students/joe-burgess.html" to :profile_url=>"./fixtures/student-site/students/joe-burgess.html" should fix this.

@aturkewi

jekyll serve doesn't work with nitrous

Can't get "jekyll serve" to work on the Nitrous terminal. The lesson needs to be changed to reflect having to use python simple HTTP server in Nitrous to display the student site webpage.

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.