Thank you for considering contributing to Asteroid!
This document outlines the contribution process and provides guidelines for making contributions.
Before making a contribution, please ensure that you have the following installed on your machine:
- Git
- Node.js
- VS Code
- Clone the repository to your local machine:
git clone https://github.com/Azure/Asteroid.git
- Navigate to the react directory
cd .\react-gh\
- Run the command "npm i" or "npm install" to install dependencies.
npm i
or
npm install
In the event that you encounter an error during this step, please refer to the following error handling guide which may be of assistance:
Command | Error |
---|---|
npm config set legacy-peer-deps true | npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree |
npm i react-router-dom --save | Cannot find module 'react-router-dom' or its corresponding type declarations |
- Start the development server:
npm start
- Open your web browser and navigate to http://localhost:3000.
Contributions to the Asteroid tool are welcome and encouraged. To contribute, you can follow the steps below:
-
Fork the Asteroid repository on GitHub.
-
Clone your forked repository to your local machine:
git clone https://github.com/your-username/Asteroid.git
- To run Asteroid on your local machine, please refer to the section titled "Run Asteroid on Your Local Machine" above and begin from step 2.
- Create a new branch for your feature:
git checkout -b <feature-name>
- Make changes to the codebase and commit your changes:
git add .
git commit -m "commit message"
- Push your changes to your forked repository:
git push origin <feature-name>
- Create a pull request to merge your changes into the main Asteroid repository.
When making a contribution to Asteroid, please follow these guidelines:
- Use TypeScript for all new code.
- Follow the existing code style.
- Document new features and changes.
- Use descriptive commit messages.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
By contributing to Asteroid, you agree that your contributions will be licensed under the MIT License.