Gatsby My Teaching Framework

less than 1 minute read

How To Use GatsbyJS

  1. First, I mounted a droplet with ubuntu
  2. Second, I followed this : I went to the gatsby official platform : https://www.gatsbyjs.org/tutorial/part-zero/
  3. Don't use "root" for the installation
  4. After finishing all installation process, i run the file then got error. Fixed this way : npm install -save gatsby-cli
  5. If you are not in a local machine, using a virtual one. Use this to run gatsby server : gatsby develop --host=0.0.0.0
  6. Then, this is the first framework : https://github.com/ines/spacy-course
  7. Here is the explanation of how to reuse it :
    • 7.1- For python course : https://ines.github.io/course-starter-python/
    • 7.2- For R course : https://github.com/ines/course-starter-r

Example

If you finished installing dependencies, you can now import an app from a github and run it this way :

  1. gatsby new hello-world https://github.com/gatsbyjs/gatsby-starter-hello-world
  2. cd hello-world
  3. gatsby develop --host=0.0.0.0

Updated: