<commit_before># ************************************************
# CREATE WEB DEVELOPMENT 101 COURSE
# ************************************************

Rails.logger.info "\n\n***** STARTING COURSE: Web Development 101 *****"

# Set Course and section position here. Update file name appropriately.
course_position = 1
section_position = 0
lesson_position = 0

course = create_or_update_course(
  title: "Web Development 101",
  title_url: "Web Development 101".parameterize,
  description: "This is where it all begins! A hands-on introduction to all of the essential tools you'll need to build real, working websites. You'll learn what web developers actually do – the foundations you'll need for later courses.",
  position: course_position,
)

# ++++++++++++++++++++
# SECTION - The Basics
# ++++++++++++++++++++

section_position += 1
section = create_or_update_section(
  title: "The Basics",
  title_url: "The Basics".parameterize,
  course_id: course.id,
  position: section_position,
  description: "This section will cover the baseline knowledge you need before getting into the more 'programming' aspects of web development.  You'll also get a chance to install the necessary software on your computer."
)

lesson_position += 1
create_or_update_lesson(
  title: "How this Course Will Work",
  title_url: "How this Course Will Work".parameterize,
  description: "Before you dive in, get familiar with the lay of the land up ahead.",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/how_this_course_will_work.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "Introduction to Web Development",
  title_url: "Introduction to Web Development".parameterize,
  description: "Learn a little about web development as a career.",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/introduction_to_web_development.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "Gearing Up",
  title_url: "Gearing Up".parameterize,
  description: "Some advice about how to approach learning to program.",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/gearing_up.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "Join the Odin Community",
  title_url: "Join the Odin Community".parameterize,
  description: "Find out how to join Odin's community of new and veteran learners and how to get help with coding problems.",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/join_the_odin_community.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "How Does the Web Work?",
  title_url: "How Does the Web Work?".parameterize,
  description: "It's tough to program web sites without understanding how the web actually works!",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/how_does_the_web_work.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "Command Line Basics",
  title_url: "Command Line Basics".parameterize,
  description: "The command line: loved, hated, and feared... but no longer by you.",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/command_line_basics.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "Installations",
  title_url: "Installations".parameterize,
  description: "There are some things you'll need to install before you start getting your hands dirty",
  position: lesson_position,
  section_id: section.id,
  is_project: true,
  url: "/web_development_101/project_installations.md",<commit_msg>Updates seeds file for new installfest (#919)<commit_after># ************************************************
# CREATE WEB DEVELOPMENT 101 COURSE
# ************************************************

Rails.logger.info "\n\n***** STARTING COURSE: Web Development 101 *****"

# Set Course and section position here. Update file name appropriately.
course_position = 1
section_position = 0
lesson_position = 0

course = create_or_update_course(
  title: "Web Development 101",
  title_url: "Web Development 101".parameterize,
  description: "This is where it all begins! A hands-on introduction to all of the essential tools you'll need to build real, working websites. You'll learn what web developers actually do – the foundations you'll need for later courses.",
  position: course_position,
)

# ++++++++++++++++++++
# SECTION - The Basics
# ++++++++++++++++++++

section_position += 1
section = create_or_update_section(
  title: "The Basics",
  title_url: "The Basics".parameterize,
  course_id: course.id,
  position: section_position,
  description: "This section will cover the baseline knowledge you need before getting into the more 'programming' aspects of web development.  You'll also get a chance to install the necessary software on your computer."
)

lesson_position += 1
create_or_update_lesson(
  title: "How this Course Will Work",
  title_url: "How this Course Will Work".parameterize,
  description: "Before you dive in, get familiar with the lay of the land up ahead.",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/how_this_course_will_work.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "Introduction to Web Development",
  title_url: "Introduction to Web Development".parameterize,
  description: "Learn a little about web development as a career.",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/introduction_to_web_development.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "Gearing Up",
  title_url: "Gearing Up".parameterize,
  description: "Some advice about how to approach learning to program.",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/gearing_up.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "Join the Odin Community",
  title_url: "Join the Odin Community".parameterize,
  description: "Find out how to join Odin's community of new and veteran learners and how to get help with coding problems.",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/join_the_odin_community.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "How Does the Web Work?",
  title_url: "How Does the Web Work?".parameterize,
  description: "It's tough to program web sites without understanding how the web actually works!",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/how_does_the_web_work.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "Command Line Basics",
  title_url: "Command Line Basics".parameterize,
  description: "The command line: loved, hated, and feared... but no longer by you.",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/command_line_basics.md",
  repo: 'curriculum'
)

# ++++++++++++++++++++
# SECTION - Installations
# ++++++++++++++++++++

section_position += 1
section = create_or_update_section(
  title: "Installations",
  title_url: "Installations".parameterize,
  course_id: course.id,
  position: section_position,
  description: "In this section you will configure your development enviornment, install Ruby and Rails, and launch your first rails application."
)

lesson_position += 1
create_or_update_lesson(
  title: "Installation Overview",
  title_url: "Installation Overview".parameterize,
  description: "There are some things you'll need to install before you start getting your hands dirty",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/installfest_introduction.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "Prerequisites",
  title_url: "Prerequisites".parameterize,
  description: "Before we can install Ruby and Rails...",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/installfest_prerequisites.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "Text Editors",
  title_url: "Text Editors".parameterize,
  description: "The hottest debate in programming, VSCode or Sublime?",
  position: lesson_position,
  section_id: section.id,
  is_project: false,
  url: "/web_development_101/installfest_text_editors.md",
  repo: 'curriculum'
)

lesson_position += 1
create_or_update_lesson(
  title: "Your First Rails Application",
  title_url: "Your First Rails Application".parameterize,
  description: "Time to dig in by making your first Rails Application",
  position: lesson_position,
  section_id: section.id,
  is_project: true,
  url: "/web_development_101/installfest_first_rails_app.md",
{'fraction_non_alphanumeric': 0.1224910491483129, 'fraction_numerical': 0.011283497884344146, 'mean_word_length': 5.357241379310345, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2468431', 'n_tokens_mistral': 2944, 'n_tokens_neox': 2773, 'n_words': 886}