FreeCodeCamp Chengdu.github.io Save

Offical Website of FCC-Chengdu community

Project README

freeCodeCamp 成都社区 官方网站

Project generated by create-hexo-wiki

NPM Dependency CI & CD Anti 996 LICENSE

参与开发

请务必先做好数据子库的准备

安装

# 若网速慢,可启用以下环境变量
# GIT_LFS_SKIP_SMUDGE=1

git clone --recurse-submodules \
  https://github.com/FreeCodeCamp-Chengdu/FreeCodeCamp-Chengdu.github.io.git \
  ~/Desktop/FCC-CDC/OWS/

cd ~/Desktop/FCC-CDC/OWS/

npm install  &&  npm start

写作

cd ~/Desktop/FCC-CDC/OWS/

hexo new "My Post title"
# 或
# hexo new activity "New activity title"

cd source/

git checkout master  # 确保子模块在 master 分支,否则提交推送后会丢失

code _post/My-Post-title.md  # 用你喜欢的文本编辑器写作

git add _post/My-Post-title.md

git commit -m "[ Add ]  A new Post"

git push

开发

cd ~/Desktop/FCC-CDC/OWS/

git submodule update --remote  # 程序开发后要同步文章目录

git add .

git commit -m "[ Add ]  A new Feature"

git push

自研模块

视图组件

  1. 文件列表

  2. 成员列表

  3. 团队名册

  4. 博文资源

  5. 活动列表

  6. 活动日历

  7. 多点地图

  8. 活动简讯

页面布局

  1. 活动时空

  2. 社群伙伴

工具函数

  1. 博文分类判断

  2. 获取文件类型

  3. DataURI 生成

  4. iCalendar 事件

特殊脚本

  1. Don't be evil !
Open Source Agenda is not affiliated with "FreeCodeCamp Chengdu.github.io" Project. README Source: FreeCodeCamp-Chengdu/FreeCodeCamp-Chengdu.github.io
Stars
31
Open Issues
12
Last Commit
1 month ago
Tags

Open Source Agenda Badge

Open Source Agenda Rating