Name: mirror-web
Owner: Tsinghua University TUNA Association
Description: Source code of the web interface of https://mirrors.tuna.tsinghua.edu.cn/
Created: 2013-12-07 11:39:53.0
Updated: 2018-01-10 02:42:06.0
Pushed: 2018-01-18 04:19:51.0
Size: 9921
Language: CSS
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
???? Jekyll ?????? babel ?? ECMAScript6??????? ruby >= 2.0 ? nodejs.
1.?? nodejs
install nodejs
2.?? ruby 2.2.4 and rubygems
Step 1: Install Required Packages
install gcc-c++ patch readline readline-devel zlib zlib-devel
install libyaml-devel libffi-devel openssl-devel make
install bzip2 autoconf automake libtool bison iconv-devel sqlite-devel
Step 2: Compile ruby 2.2.4 source code
-c https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.tar.gz
Step 3: Install rubygems
-c https://rubygems.org/rubygems/rubygems-2.4.8.tgz
setup.rb
install bundle
install build
le install
ll build
irror-web
er build -t builden -f Dockerfile.build .
er run -it -v /path/to/mirror-web/:/data builden
??????????????????
https://mirrors.tuna.tsinghua.edu.cn/static/tunasync.json -O static/tunasync.json
https://mirrors.tuna.tsinghua.edu.cn/static/tunet.json -O static/tunet.json
https://mirrors.tuna.tsinghua.edu.cn/static/isoinfo.json -O static/isoinfo.json
?? jekyll serve
???? demo.
git checkout -b foo-doc
_posts/help
?????????????? ?-?-?-??.md
?? http://mirrors.tuna.tsinghua.edu.cn/help/tensorflow/ ??????????????????????? Vue.js