GithubHelp home page GithubHelp logo

api-1's Introduction

Open Access Button API

This repo will automatically deploy changes committed to the API. There is a develop branch and a master branch. Changes MUST be committed to the develop branch first and tested on the dev API. Once confirmed as being acceptable, they can be committed to the master branch. Master does not yet autoamtically deploy - it could do, but will be checked manually for now.

This API code is a "plugin" for a larger API infrastructure. More details and docs to follow.

Contributing

Discussion and issues happen for this project and others on OAB in the discussion repo: issues/discussion area

How to Edit via GitHub command line

  • Clone the repository and switch to develop branch.

    git clone [email protected]:OAButton/API.git
    git checkout develop
  • Edit the files as you see fit, create new files as necessary.

  • You can use the status command to check what branch you are on, and what changes you have ready to commit.

    git status
    git add .
    git commit -am 'I edited these files, yay me - or some more useful message'
    git pull origin develop
  • If others have made changes there may be some merge fixes to make after the git pull - if so, fix them.

    git push origin develop
  • Check the test site to see that things look how you want (there may be a couple of minutes delay).

    git checkout master
    git merge origin/develop
  • Again, check for any merge conflict warnings and fix them.

    git pull origin master
  • Quick check for any more changes made by others, fix any conflicts, then push the merge.

    git push origin master
  • Now your changes are on the live site too!

  • Switch back to develop branch ready to do more editing

    git checkout develop

Approval Process

This keeps branches aligned and ensures content on the sight is properly vetted.

  • Anyone with at least "contributor access" (i.e. permission to push) can commit to develop branch to test changes
  • Mark to approve change
  • Mark merges on to master

If branches get out of alignment, Mark needs to review.

api-1's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.