Coder Social home page Coder Social logo

arhell / website-5 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from karmada-io/website

0.0 1.0 2.0 19.73 MB

License: Creative Commons Attribution 4.0 International

CSS 12.02% JavaScript 9.45% Shell 74.36% TypeScript 1.89% Dockerfile 0.12% Makefile 0.15% MDX 2.00%

website-5's Introduction

Karmada Docs & Website

This repo contains the source code of Karmada website and all of the docs for Karmada. It's built by Docusaurus, a modern static website generator.

Welcome to join us and you are more than appreciated to contribute!

Website Preview

If you only update the docs, you do not need to preview the website locally. We will create a preview link for you when you submit a pull request (PR). In an open PR, you can find the preview link in the comment of the PR. Check Open PRs List.

Run with Node.js

If you have the Node.js environment, you can run the website locally.

# Clone the repo, or your own fork
git clone https://github.com/<YOUR_GITHUB_USERNAME>/karmada-website.git

# Install dependencies
cd karmada-website
npm install

# Start the site
yarn run start

Run with Docker

If you do not want to install the Node.js environment, you can consider using Docker instead.

make serve

With just one command, you can run it locally and then access http://localhost:3000 to preview the website.

Local Development

If you want to contribute to the website, firstly, it is essential to learn some basic knowledge of Docusaurus.

Run the development server

To start a local development server, please run:

yarn run start

This command starts a local development server and opens a browser window at http://localhost:3000. Most changes are automatically reflected live without the need to restart the server.

Build

yarn run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.