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-preconfig.rpmyum -y install pbase-preconfig-nodejs12yum -y install pbase-gatsby-tools
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.