在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:square/square.github.io开源软件地址:https://github.com/square/square.github.io开源编程语言:CSS 50.5%开源软件介绍:Square Open Source PortalA simple, static portal which outlines our open source offerings. Intentionally themed to look like a Square merchant page on the directory. DevelopmentRun the site locallygem install bundler # first time only
bundle install # first time only
bundle exec jekyll serve Update list of repos:pip install pystache requests pygithub3 # first time only
./generate.py About the codeDue to the use of absolute URLs in CSS files that are (essentially) out of our control, the easiest way to develop is by running with Jekyll. Repositories are listed in the Repository data is pulled via the GitHub API (e.g., website). By default the script performs unauthenticated requests, so it's easy to run up against GitHub's limit of 60 unauthenticated requests per hour. To make authenticated requests and work around the rate-limiting, add an entry for api.github.com to your ~/.netrc file, preferably with a Personal Access Token from https://github.com/settings/tokens
Images are loaded by convention from the License
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论