GatsbyJS
Gatsby JS
Install the static site generator Gatsby JS depends on Node JS and a few image processing libraries to build websites. Here's how to build from the site's resources and code on a Git repository.
yum -y install https://pbase-foundation.com/pbase-repo.rpmcurl -sL https://rpm.nodesource.com/setup_16.x | bash -yum -y install nodejsyum -y install pbase-gatsby-toolsyum -y install yarn
As a regular user, create a file ~/.netrc
and fill it with your real Git provider user and password.
machine gitlab.comlogin myrealgitusernamepassword myReAlPaSsWoRd
Then clone the website source, and build it.
git clone https://gitlab.com/myrealgitusername/myrealgatsby-site.gitcd myrealgatsby-sitenpm installgatsby build
Finally, copy the public
directory that was built to your website root.
More about Gatsby JS
Read more about the Gatsby JS project at:
https://www.gatsbyjs.com/