Set Up Gatsby Environment
How To Use GatsbyJS
- First, I mounted a droplet with ubuntu
- Second, I followed this : I went to the gatsby official platform : https://www.gatsbyjs.org/tutorial/part-zero/
- Don't use "root" for the installation
- After finishing all installation process, i run the file then got error. Fixed this way : npm install -save gatsby-cli
- 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
- Then, this is the first framework : https://github.com/ines/spacy-course
- 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 :
- gatsby new hello-world https://github.com/gatsbyjs/gatsby-starter-hello-world
- cd hello-world
- gatsby develop --host=0.0.0.0