Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

deftwork/deftwork.github.io

Repository files navigation

Portal for DeftWork @ GitHub

This repository is rendered online at http://deftwork.github.io, it contains a listing of repositories that are open source and maintained by DeftWork teams.

Adding a new repo to the listing

In order to have your repository show up at http://deftwork.github.io, a minor change to orgs.js is required.

  • To add a single repository add a new entry to orgs.js, specify the Github organization name and the repository name (separate them with a /), and set the type to repo, an example can be seen below:
 {
 "name": "RuntimeTools/appmetrics",
 "type": "repo"
 }
  • To add all the repositories in a Github organization add a new entry to orgs.js, specify the Github organization name, and set the type to org, an example can be seen below:
 {
 "name": "DeftWork",
 "type": "org"
 }

To test changes locally

From within the top level folder of the cloned repository run:

$ python -m http.server {port}

For example: python -m http.server 8000 or python -m SimpleHTTPServer 8000 -> Open the following URL in a browser:

http://localhost:8000/

Quick Git tutorial

  1. Clone the repository and checkout a new branch
$ git clone https://github.com/DeftWork/deftwork.github.io
$ git checkout -b branch_name
  1. Update the files you'd like to change
  2. Push the changes upstream
$ git add file1 file2
$ git commit -m "add your commit message here"
$ git push origin branch_name
  1. View your branch in Github and create a Pull Request

About

Science & Technology for Social Development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /