Thank you for your interest in contributing to ComputerCraft : Tweaked Blockly Editor! Follow these steps to contribute to the project:
- Go to the GitHub repository.
- Click on the "Fork" button in the top right corner to create a copy of the repository in your GitHub account.
- Open your terminal or command prompt.
- Clone your forked repository to your local machine. Replace
<your-username>
with your GitHub username.git clone https://github.com/<your-username>/cc-tweaked_blockly.git
- Navigate into the cloned repository:
cd cc-tweaked_blockly
- Add the original repository as a remote, this will allow you to fetch changes from the original repository.
git remote add upstream https://github.com/Sarxzer/cc-tweaked_blockly.git
- Create a new branch for your changes. It's a good practice to name your branch based on the feature or fix you're working on.
git checkout -b <branch-name>
- Download Node.js and npm
- Launch
package_installer.bat
- If you are encountering unexpected error, please make an issue on Github
- Go to
src/secret.json
- Fill the
api_user_key
with your API User Key (get it fromapi_user_key.bat
) - Fill the
api_dev_key
with your API Dev Key from Pastebin
- Make the necessary changes to the project using your preferred text editor or IDE.
- Just do
npm start
- Stage the changes you've made.
git add .
- Commit the changes with a descriptive commit message.
git commit -m "Add feature: <description>"
- Push your changes to your forked repository on GitHub.
git push origin <branch-name>
- Visit your forked repository on GitHub.
- Click on the "Compare & pull request" button next to the branch you just pushed.
- Provide a descriptive title and comment for your pull request.
- Click on the "Create pull request" button to submit your changes for review.
- We will review your pull request and see if we can merged it with the original repository.
- To keep your fork updated with the original repository, fetch changes from the upstream repository and merge them into your local master branch.
git fetch upstream git checkout master git merge upstream/master git push origin master
That's it! Your pull request will now be reviewed by the project maintainers. Be sure to respond to any feedback they provide and make any necessary changes to your pull request. Once approved, your changes will be merged into the main project.