Skip to content

Latest commit

 

History

History
97 lines (69 loc) · 5.93 KB

README.md

File metadata and controls

97 lines (69 loc) · 5.93 KB

dicty-frontpage

All Contributors

License GitHub tag GitHub action codecov Maintainability Last commit Funding

This is the repository for the new dictyBase frontpage.

Cloud Native Development

All dictyBase development is now done with cloud native development in mind. It is expected that you have your own Kubernetes cluster running. Documentation for the cloud deployment process can be found here.

The general idea is that after every git commit a new Docker image is built based on that commit, pushed to Docker Hub, then the corresponding Helm chart is upgraded with that image tag inside your cluster.

Local Development

In order for this application to work locally, you will need to configure the list of login providers.

  • Copy the provided sample clientConfig.sample.ts file to clientConfig.js in the same folder.
  • Add any provider names and their corresponding client IDs.
  • All providers should have a matching counterpart in the oauthConfig.ts file. Fill up all of the configuration parameters for every new provider in that file.

After setting up the login providers, you can run yarn install and yarn start as usual.

Mock Server

In case the GraphQL server is unavailable or does not have the queries implemented, you can use the mock server by running the command:

yarn start:mock

This command makes use of the REACT_APP_MOCK_SERVER environment variable while in development mode (DEPLOY_ENV='development'), which will activate the mock server that will intercept the requests made to the GraphQL server.

To update the data used by the mock server, go to [src/mocks/handlers.js] and update the query and mock data accordingly.

Backend Requirements

This app requires the following services to be running:

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Eric Hartline

🐛 💻 📖 🚧 ⚠️

Siddhartha Basu

💻 🚧 🐛 🖋 📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Misc badges

Issues Open Issues Closed Issues Total PRS Open PRS Closed PRS Merged PRS Commits Branches Tags GitHub repo size GitHub code size in bytes Lines of Code