简体   繁体   中英

How do you get an angularJS w/typescript project to work on a website?

I'm really new to development in general, and I have recently followed through the angular 2.0 tutorial. What I'm wondering is how I would be able to host say the tutorial project online at github pages. I've tried uploading the project to my repository I created for the github page, but it doesn't seem to work.

You can upload and commit an existing file to a GitHub repository. Drag and drop a file to any directory in the file tree, or upload files from the repository's main page.

  1. On GitHub, navigate to the main page of the repository.
  2. Under your repository name, click Upload files.
  3. Drag and drop the file or folder you'd like to upload to your repository onto the file tree.
  4. At the bottom of the page, type a short, meaningful commit message that describes the change you made to the file.
  5. Below the commit message fields, decide whether to add your commit to the current branch or to a new branch. If your current branch is master, you should choose to create a new branch for your commit and then create a pull request.
  6. Click Commit changes.

Also recommend using Git Bash: https://git-scm.com/downloads

Here are the procedures for uploading with Git Bash: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM