Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clustergram component improvement #77

Merged
merged 7 commits into from
Dec 11, 2018

Conversation

shammamah-zz
Copy link
Contributor

Dash Bio pull request

  • This is a new component
  • I am adding a feature to an existing component

Name and description of your component

dash clustergram

Main libraries used in component

  • Make sure you add links!

Before asking for a review

PR merging checklist

Please make sure you have done these things before asking for approval to finally merge.

  • Address all comments in the code review.
  • Make sure you are up-to-date with the latest master: checkout the master branch with git checkout master, pull from latest master git pull, checkout to your branch git checkout your-branch, merge master into your branch git merge master. Resolve conflicts.
  • Update/regenerate package-lock.json (run npm install)
  • Ensure that your requirements.txt is complete
  • Rebuild (run npm run build:all or npm run build:js followed by npm run build:py
  • Regenerate tarball (run python setup.py sdist, then copy dist/dash_bio-X.Y.Z.tar.gz into the top-level directory)
  • Ensure that you installed the tarball you generated with the above commands (run pip install dash-bio-X.Y.Z.tar.gz)
  • Run your application successfully in a virtual environment and test that other apps still run
  • Commit and push the files that were generated in the dash-bio folder by the above command(s)
  • Ask for a final review and look for a 💃!
  • Have your dancer? Merge to master!

DDS Deployment

  • Get the developers user credentials from a dash-bio team member.
  • Checkout the master branch of the dash-bio repository, make sure you have the latest master (git pull).
  • Check remotes associated to your repository: git remote -v, make sure you have the dash-bio one: https://dash-gallery.plotly.host/GIT/dash-bio.
  • If you don't have the dash-bio remote add it with https, ssh will not work: git remote add dash-bio https://dash-gallery.plotly.host/GIT/dash-bio.
  • You will be asked to enter the developers user credentials, have them ready.
  • Push local master to the dds dash-bio master: git push dash-bio master.

DDS Deployment Debugging

  • If running git push dash-bio master you may encounter the following issue:
remote: User <username> does not have permissions to run git-hook on dash-bio, or dash-bio does not exist
remote: Access denied
To https://dash-gallery.plotly.host/GIT/dash-bio
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://dash-gallery.plotly.host/GIT/dash-bio'

This may be because the git credentials are saved on the client-side. In order to solve this, do the following:

Windows

Go to: Control Panel -> User Accounts -> Manage your credentials -> Windows Credentials -> Under Generic Credentials find: git:https://dash-gallery.plotly.host -> Remove credential OR edit username/password to provided account.

OS X

Go to: Keychain Access -> Search for dash-gallery.plotly.host -> Change "Account" to "developers" -> Click on "show password" -> Change the password to the one provided -> Click "Save Changes". 

@shammamah-zz
Copy link
Contributor Author

Addresses #77.

@Bachibouzouk Bachibouzouk self-requested a review December 11, 2018 17:45
Copy link
Contributor

@Bachibouzouk Bachibouzouk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this already addressed in #76 ?

@shammamah-zz shammamah-zz merged commit 2e42437 into master Dec 11, 2018
@shammamah-zz shammamah-zz deleted the clustergram-component-improvement branch February 7, 2019 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants