Contributing to gtop
Pull Requests are welcome! We appreciate contributions from the community to help improve gtop.
Setting up the Development Environment
To get started with development, you'll need to clone the repository and install the dependencies.
-
Clone the repository:
git clone https://github.com/aksakalli/gtop.git -
Navigate to the project directory:
cd gtop -
Install dependencies: This project uses
npmto manage its dependencies. Run the following command to install them:npm install
Running Linters and Tests
Before submitting a contribution, please ensure that your code adheres to the project's standards by running the linter and tests.
Linting
This project uses prettier for code formatting. To check if your code meets the style guidelines, run:
npm run lint-check
To automatically format your code, you can run:
npm run lint
Testing
To execute the test suite, run:
npm test
Note: The test suite is currently a placeholder. As tests are added, this command will become more important.
Submitting Changes
- Fork the repository on GitHub.
- Create a new branch for your feature or bug fix.
- Commit your changes.
- Push your branch to your fork.
- Submit a Pull Request to the
masterbranch of the original repository.
Reporting Issues
If you encounter a bug or have a feature request, please open an issue. When reporting an issue, please provide the following details:
- OS: Your operating system (e.g., Ubuntu 22.04, macOS 13.0).
- Node version: The output of
node --version. - gtop version: The output of
npm info gtop version. - Description: A clear and concise description of the issue or feature request.