regalii / swagger-ui

Swagger UI is a collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
http://swagger.io
Other
0 stars 0 forks source link

Update Arcus branch with swagger-api/swagger-ui master branch #4

Open rlopzc opened 5 years ago

rlopzc commented 5 years ago

Check your remotes: $ git remote -v

If you only have origin listed then add the swagger-api origin: $ git remote add swagger git@github.com:swagger-api/swagger-ui.git

If you have the swagger remote listed:

  1. Change to master branch: $ git checkout master
  2. Fetch swagger-api master branch: $ git fetch swagger master
  3. Pull swagger-api master branch to yours: $ git pull swagger master

Change to arcus branch: $ git checkout arcus

Rebase arcus branch from master: $ git rebase master --strategy-option theirs

Run yarn or npm install to install the latest deps: $ npm install

Then run the custom bash script to update everything else:

  1. First give permissions: $ chmod +x ./update-github-pages.sh
  2. Run the bash script $ ./update-github-pages.sh
Renba commented 5 years ago

Why are you copying dist (cp -r dist/ . && \) in to . ?

rlopzc commented 5 years ago

Because the bundle is built on dist/. I extract it to /