• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

AustinCodingAcademy/javascript-workbook: https://austincodingacademy.github.io/j ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

AustinCodingAcademy/javascript-workbook

开源软件地址:

https://github.com/AustinCodingAcademy/javascript-workbook

开源编程语言:

JavaScript 94.1%

开源软件介绍:

CircleCI

Austin Coding Academy

JavaScript Workbook

Claiming your workbook

  1. Click the 'Fork' button (choose your account if prompted).
  2. Copy HTTPS URL from your forked repository
  3. In your terminal (or in git bash, for Windows people), navigate (using cd) into a directory where you want to start keeping your repositories.
  4. Clone your new repository by typing git clone <forked clone URL> (the HTTPS URL you copied above) Forking a repository
  5. Now go into the new directory by using cd javascript-workbook
  6. Add the base repository as an upstream git remote add upstream https://github.com/AustinCodingAcademy/javascript-workbook.git
  7. Check the configuration of your remotes with git remote -v, it should look very similar to this (except it'll be YOUR username)
$ git remote -v

origin  [email protected]:username/javascript-workbook.git (fetch)
origin  [email protected]:username/javascript-workbook.git (push)
upstream    [email protected]:AustinCodingAcademy/javascript-workbook.git (fetch)
upstream    [email protected]:AustinCodingAcademy/javascript-workbook.git (push)

Push to Github and create a PR

  1. From your project directory, run npm install to tell NPM to install all the node modules we use in this class

  2. Use Atom (or another editor) to make the change to the index.html file in the top level directory. Change Hello World! to Hello <your name>!

  3. When you're finished, stage your file, commit your changes, and push to GitHub using the following commands:

    git status
    git add .
    git commit -m "Initial Commit"
    git push origin gh-pages
  4. Now go to your forked repository on GitHub (at https://github.com/your-username/javascript-workbook). A little yellow box should have popped up asking you to make a Pull Request. Click to review.

  5. Click "Create Pull Request"

  6. Every time you make a change and push to GitHub, this PR will automatically update. No need to do it more than once.

Get latest workbook updates

  1. To get the latest code/homework/test updates, be sure to have a "clean working directory" by committing or removing all of your changes. You check for a "clean working environment" by running git status and making sure no files show up.

  2. Run git pull upstream gh-pages

Contributing workflow

Running the apps

Simply run node path/to/file.js

example node 01week/rockPaperScissors.js

Running Tests

Tests are a great way to make sure you code works the way you planned it would, and to make sure you don't break something in the future. We will be using them to test our understanding of the lesson. It's also our main way to assign grades for an assignment.

To run a the tests on a file run npm test path/to/file.js, etc.

Running the Linter

Simply run npm run lint

Running the Server

  1. Run npm start
  2. To break out of the server, press ctrl + c



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
bloominstituteoftechnology/JavaScript-III发布时间:2022-07-07
下一篇:
zellwk/javascript: A collection of useful JavaScript snippets curated by Zell发布时间:2022-07-07
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap