Git Product home page Git Product logo

gatsby-oi-wiki's Introduction

gatsby-oiwiki

Gitpod Ready-to-Code FOSSA Status

正在开发中的基于 gatsby 的渲染框架。欢迎您点击下方链接入群并参与项目。

Demo:https://next.oi-wiki.org/

TG 群:https://t.me/joinchat/GaEGzhcWGl8-1CSjdhi9kA

如何参与

一般情况下,你需要把本项目先 Fork 一份。

在本地开发

准备好 Git 和 NodeJS。注意,NodeJS 版本应当大于等于 14. 请勿使用 taobao 等 npm 镜像。

Linux

git clone https://github.com/{你的 GitHub 用户名}/gatsby-oi-wiki.git # 将仓库克隆至本地
cd gatsby-oi-wiki # 进入仓库文件夹
yarn install --ignore-optional # 安装依赖,如果你可以解决国际联网问题,可以使用 yarn install

Windows

首先,在安装 NodeJS 时,请确保你选择了“Install Additional Tools for Node.js”这一项,如果没有安装,可以在开始菜单里找到这一项并安装。

然后克隆本项目的仓库,并安装依赖

git clone https://github.com/{你的 GitHub 用户名}/gatsby-oi-wiki.git
cd gatsby-oi-wiki
yarn install --ignore-optional # 安装依赖,如果你可以解决国际联网问题,可以使用 yarn install

至此,准备工作已经完成;接下来,是三种基本操作:

# 开发环境
yarn develop # 运行开发服务器
yarn build # 构建项目并生成静态文件
# 清除缓存
yarn clean # 当你发现浏览的界面与预期不同时,可以尝试清理缓存
              # Gatsby的缓存存放在两个目录中:public 目录存储静态页面文件,.cache 目录存储临时文件
              # 你也可以通过手动删除这两个文件夹达到清理效果

Tips

要加 feature 可以随时提出~

License

FOSSA Status

Deploy

Deploy to Netlify

Deploy with ZEIT Now

gatsby-oi-wiki's People

Contributors

enter-tainer avatar dependabot-preview[bot] avatar ir1d avatar sshwy avatar diauweb avatar cbw2007 avatar amybiubiu avatar dependabot[bot] avatar skyeyoung avatar chungzh avatar yioneko avatar frank-xjh avatar curow avatar ouuan avatar ahacad avatar renbaoshuo avatar 24oi-bot avatar henry-zhr avatar sukkaw avatar king19990102 avatar karshilov avatar chunibyo-wly avatar fossabot avatar

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.