在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:nodeschool/nodeschool.github.io开源软件地址:https://github.com/nodeschool/nodeschool.github.io开源编程语言:JavaScript 90.8%开源软件介绍:nodeschool.github.io
Please fork it and send us improvements! Read our CONTRIBUTING.md guide for more details on how to send a great PR. If you are an owner on the nodeschool/Owners team please do not edit this repo directly but instead send your contributions as pull requests. We ask that you make pull requests because changes to this repository will get deployed onto the live production site immediately and it's best if you get feedback on your pull request first before it goes live. Running the entire app locallyThis is a static site with a build step. The build step uses a GitHub Personnal Access Token that you need to generate and put in a .env file. Actually you don't need to configure any authorization on this access token, it just serves the purpose of unleashing the GitHub API Rate Limit.
After that, simply run
Installing and running individual nodeschool workshop packagesPlease refer to the nodeschool site for detailed instructions. In short, there are two ways to install the workshop modules :
If you would like to keep all the node_school workshop packages inside a custom directory while you work through them. Using our previous example :
From within the This is because you need to run the executable from within the directory itself since it's not available globally in your Please refer to this discussion for more info. Stickers, Badges and whatnotsThese are in the TranslationsIf you would like to translate the NodeSchool site into another language please make a pull request adding To generate a new language file template automatically, run the following commands inside a clone of this repository:
This will prompt you to enter a language code and will generate your language file in the When picking your language code, please use the correct code from the first column of this spreadsheet: http://en.wikiversity.org/wiki/ISO_639-1_language_matrix The way translations are implemented is building static pages using Codeship (see Translation files are a mapping of translations IDs to the translated strings. There is a separate file called The good things about this approach:
The drawbacks of this approach:
Update TranslationsAre you not sure what translations is missing? Don't worry! :) Just run this command:
You will find untranslated IDs in |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论