forked from pharmaverse/pharmaverse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request pharmaverse#324 from Appsilon/test-staging
Update documentation and add staging deployment
- Loading branch information
Showing
5 changed files
with
141 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,81 @@ | ||
# Contributing to Pharmaverse Website | ||
|
||
First off, thank you for considering contributing to the Pharmaverse Website! We appreciate your time and effort in improving this project. The following is a set of guidelines for contributing to the repository. | ||
Thank you for considering contributing to the Pharmaverse Website! We truly appreciate your efforts in improving this project. Below are guidelines to help you understand how you can contribute and collaborate with us effectively. | ||
|
||
## Table of Contents | ||
|
||
1. [Governance](#governance) | ||
1. [Branching and deployment strategy](#branching-and-deployment-strategy) | ||
1. [Code of Conduct](#code-of-conduct) | ||
1. [How can I contribute](#how-can-i-contribute) | ||
2. [Branching and Deployment Strategy](#branching-and-deployment-strategy) | ||
3. [Code of Conduct](#code-of-conduct) | ||
4. [How Can I Contribute](#how-can-i-contribute) | ||
- [Reporting Bugs](#reporting-bugs) | ||
- [Suggesting Enhancements](#suggesting-enhancements) | ||
- [Submitting Pull Requests](#submitting-pull-requests) | ||
5. [Getting Help](#getting-help) | ||
|
||
--- | ||
|
||
## Governance | ||
|
||
[Access](https://github.com/pharmaverse/pharmaverse/settings/access) to the repo is limited to the council (who are GH organisation admins), and | ||
members of the Github Team [website-maintainers](https://github.com/orgs/pharmaverse/teams/website-maintainers). Any other contributions must be made | ||
as a pull request from a fork. | ||
Access to the repository is restricted to members of the council (GitHub organization admins) and the [website-maintainers team](https://github.com/orgs/pharmaverse/teams/website-maintainers). Any external contributions must be made through pull requests from a forked repository. For further information on access, see the [repo access settings](https://github.com/pharmaverse/pharmaverse/settings/access). | ||
|
||
--- | ||
|
||
## Branching and Deployment Strategy | ||
|
||
## Branching and deployment strategy | ||
1. **Default Branch**: The default branch is `develop`. All pull requests (PRs) must go through the `develop` branch before being merged into `main`. | ||
2. **Deployment Pipeline**: The GitHub Actions [pipeline](https://github.com/pharmaverse/pharmaverse/blob/develop/.github/workflows/pipeline.yml) deploys code from the `main` and `develop` branches (to production and a testing space). | ||
3. **Branch Lifecycle**: Once a branch has been deployed to `develop`, it should be deleted. | ||
4. **Issue Tracking**: The [issue templates](https://github.com/pharmaverse/pharmaverse/tree/develop/.github/ISSUE_TEMPLATE) is utilised for reporting bugs and requesting features. | ||
|
||
1. The default branch is `develop`, and all PRs should go through `develop` before being merged to `main`. | ||
1. Our GH Action [pipeline](https://github.com/pharmaverse/pharmaverse/blob/develop/.github/workflows/pipeline.yml) deploys from `main` and `develop` (to prod and a testing space) | ||
1. Branches should be deleted once they are deployed to `develop` | ||
1. We use [issue templates](https://github.com/pharmaverse/pharmaverse/tree/develop/.github/ISSUE_TEMPLATE) | ||
--- | ||
|
||
## Code of Conduct | ||
|
||
This project adheres to the [Contributor Covenant Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/). | ||
By participating, you are expected to uphold this code. Please report any unacceptable behavior to [a member of the pharmaverse council](https://pharmaverse.org/contribute/council/). | ||
This project adheres to the [Contributor Covenant Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/). By participating in this project, you are expected to uphold this code. If you encounter any violations, please report them to [a member of the Pharmaverse council](https://pharmaverse.org/contribute/council/). | ||
|
||
--- | ||
|
||
## How Can I Contribute? | ||
|
||
### Reporting Bugs | ||
|
||
If you encounter any bugs, please report them by creating a new issue in the [GitHub Issues](https://github.com/pharmaverse/pharmaverse/issues) section. Include as much detail as possible: | ||
If you encounter a bug, please report it by opening a new issue in the [GitHub Issues](https://github.com/pharmaverse/pharmaverse/issues) section. Be sure to include the following: | ||
|
||
- Steps to reproduce the bug | ||
- Expected and actual behavior | ||
- Screenshots, if applicable | ||
- Your environment (OS, browser, etc.) | ||
- Steps to reproduce the bug. | ||
- Expected and actual behavior. | ||
- Screenshots (if applicable). | ||
- Your environment (operating system, browser, etc.). | ||
|
||
### Suggesting Enhancements | ||
|
||
We welcome suggestions for new features or improvements! Please check the existing issues first to see if your idea has already been suggested. If not, feel free to create a new issue with the following details: | ||
We welcome new feature suggestions! Before creating a new suggestion, please check if your idea has already been proposed. If not, feel free to open a new issue with the following: | ||
|
||
- A clear and concise description of the enhancement | ||
- The problem or use case it addresses | ||
- Any related or similar features in other projects | ||
- A clear and concise description of the enhancement. | ||
- The problem or use case it addresses. | ||
- Any related features or similar implementations in other projects. | ||
|
||
### Submitting Pull Requests | ||
|
||
If you're ready to contribute code, follow these steps: | ||
If you're ready to contribute code, please follow these steps: | ||
|
||
1. Fork the repository to your GitHub account. | ||
2. Clone your fork to your local machine. | ||
2. Clone the fork to your local machine. | ||
3. Create a new branch from `develop` for your feature or bugfix. | ||
4. Make your changes following the [style guides](#style-guides). | ||
4. Follow our [style guidelines](#style-guides) while making your changes. | ||
5. Test your changes locally. | ||
6. Commit your changes with a descriptive commit message. | ||
7. Push your branch to GitHub. | ||
8. Create a Pull Request (PR) from your branch to the `develop` branch of the original repository. | ||
6. Commit your changes with a clear and descriptive message. | ||
7. Push the changes to your fork. | ||
8. Submit a pull request (PR) from your branch to the `develop` branch of the main repository. | ||
|
||
Your pull request will be reviewed by members of the tech-wg team, and you may be asked to make revisions based on the feedback. | ||
|
||
Your PR will be reviewed by members of the tech-wg team. Please be prepared to make revisions based on feedback. | ||
--- | ||
|
||
## Getting Help | ||
|
||
If you need help, you can reach out to the tech-wg team through the following channels: | ||
If you need any assistance or have questions, feel free to reach out through the following channels: | ||
|
||
- GitHub Discussions in the repository | ||
- [Slack Channel](https://pharmaverse.slack.com/) | ||
- [pharmaverse.org](https://pharmaverse.org) | ||
- GitHub Discussions in this repository. | ||
- [Slack Channel](https://pharmaverse.slack.com/). | ||
- [Pharmaverse Website](https://pharmaverse.org). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
######################## staging configuration #################### | ||
baseURL = "http://openpharma.s3-website.us-east-2.amazonaws.com/develop" | ||
baseURL = "https://pharmaverse-staging-test.netlify.app" |