tuna/mirror-web

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

Homepage:

Size: 9921

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

TUNA mirrors ??

?? Demo
????

???? Jekyll ?????? babel ?? ECMAScript6??????? ruby >= 2.0 ? nodejs.

For Centos

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
  1. ?? bundle ? build
    install bundle
    install build
    
  2. Fork mirrors source code
le install
ll build
Build In Docker
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.

????
????
  1. Fork ???? clone
  2. ???? git checkout -b foo-doc
  3. ? _posts/help ?????????????? ?-?-?-??.md
  4. ? markdown ??????
  5. ???????
  6. ?? Pull Request
????
  1. ?????????????????????????
  2. ??????, ?? Github Flavored Markdown ??
  3. ????????????
????
????

?? http://mirrors.tuna.tsinghua.edu.cn/help/tensorflow/ ??????????????????????? Vue.js


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.