Giter VIP home page Giter VIP logo

learning-gatsby-2833047's Introduction

Learning Gatsby

This is the repository for the LinkedIn Learning course Learning Gatsby. The full course is available from LinkedIn Learning.

Learning Gatsby

Gatsby is a modern take on the static site generator. Built on React, it uses GraphQL to extract information from data sources such as WordPress. Learn how to use this flexible JavaScript framework to build performance-focused websites in this course with Morten Rand-Hendriksen. Discover how to get Gatsby up and running and use the starter projects to quickly build out your sites. Find out how to work with Gatsby pages, assets, and components, and style your sites using multiple CSS approaches: standard static style sheets, inline styles, CSS modules, styled components, and more. Plus, learn how to extend Gatsby with plugins, connect to data sources with GraphQL queries, create pages dynamically using transformer plugins and Node.js scripts, and get your Gatsby site ready for production.

Learning objectives

  • Setting up Gatsby
  • Installing a Gatsby starter
  • Exploring a Gatsby project
  • Working with static pages and assets
  • Using components
  • Styling your Gatsby site with CSS
  • Extending Gatsby with plugins
  • Requesting data with GraphQL
  • Creating pages dynamically
  • Building a production-ready public site
  • Creating a progressive web app (PWA)

Instructions

This repository has branches for each of the videos in the course. You can use the branch pop up menu in github to switch to a specific branch and take a look at the course at that stage, or you can add /tree/BRANCH_NAME to the URL to go to the branch you want to access.

Branches

The branches are structured to correspond to the videos in the course. The naming convention is CHAPTER#_MOVIE#. As an example, the branch named 02_03 corresponds to the second chapter and the third video in that chapter. Some branches will have a beginning and an end state. These are marked with the letters b for "beginning" and e for "end". The b branch contains the code as it is at the beginning of the movie. The e branch contains the code as it is at the end of the movie. The master branch holds the final state of the code when in the course.

Installing

  1. To use these exercise files, you must have the following installed:
  2. Clone this repository into your local machine using the terminal (Mac), CMD (Windows), or a GUI tool like SourceTree.
  3. In terminal, navigate to the project folder and run the command npm install.
  4. To start developing, run the command gatsby develop.

learning-gatsby-2833047's People

Contributors

dependabot[bot] avatar linkedin-learning-a1 avatar mor10 avatar siodice avatar smoser-lil avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

learning-gatsby-2833047's Issues

gatsby develop won't run even after npm install

Issue Overview

After clone, when we do gastby develop, it doesn't run. if I do npm i before gatsby develop. Same thing, the error says "gatsby can only be run for a gatsby site."

Describe your environment

macOS, vscode , node v12.13.0

Steps to Reproduce

  1. clone https://github.com/LinkedInLearning/learning-gatsby-2833047
  2. switch to any branch or even stay on master
  3. run gatsby develop

Expected Behavior

should run like in video

Current Behavior

Error says "gatsby can only be run for a gatsby site."

Content folder does not exist at root level until branch 06_02b

Issue Overview

The Content folder and included images are required during the tutorial beginning in the 04 branches.
Though they exist in the instructor's code during the video, they are not available in the repo.

Describe your environment

MacBook Pro, VS Code, Chrome

Possible Solution

The Content folder and files need to be added to the 04 & 05 sections of branches.

Screenshots / Video

image
image

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.