Kata Containers website
This is the public repo to mantain the Kata Containers website at katacontainers.io.
Install yarn on your system: https://yarnpkg.com/en/docs/install
Deploy to Netlify (option A)
Use the button below to build and deploy your own copy of the repository:
After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from this repository. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete. Next, you’ll need to set up Netlify’s Identity service to authorize users to log in to the CMS.
Pulldown a local copy of the Github repository Netlify created for you, with the name you specified in the previous step
$ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git $ cd [REPO_NAME] $ yarn $ netlify dev # or ntl dev
This uses Netlify Dev CLI feature to serve any functions you have in the
To test the CMS locally, you'll need run a production build of the site:
$ npm run build $ netlify dev # or ntl dev
Install locally (option B)
$ git clone https://github.com/kata-containers/katacontainers.io-netlify $ yarn
Build the static files into the
public folder, turns lambda functions into a deployable form.
$ yarn build
gatsby clean command.
Starts the netlify dev environment, including the gatsby dev environment. For more info check the Netlify Dev Docs
clean script and starts the gatsby develop server using the command
gatsby develop. We recomend using this command when you don't need Netlify specific features
Formats code and docs according to our style guidelines using