You will need to have the following installed on your machine:
- Node.js 18.18.0 or higher
- npm (comes with Node.js)
- Git
-
Clone the repository
git clone https://github.com/YOUR_USERNAME/calvinist-parrot.git cd calvinist-parrot
-
Install dependencies
npm install
-
Environment variables Copy the
.env.template
file to.env
and fill in the required values. Contact the maintainers for required credentials and API keys. -
Run the development server
npm run dev
-
Run tests (I need help adding tests)
npm test
-
Build the project
npm run build
Before you begin, fork the project on GitHub: Project Page
Before you begin, make sure to fork the project. Go to the project's GitHub page and click the fork
button:
Project Page
-
Clone your forked repository to your local machine:
git clone https://github.com/YOUR_USERNAME/calvinist-parrot.git cd calvinist-parrot
-
Add the original repository as a remote to pull future updates:
git remote add upstream https://github.com/Jegama/calvinist-parrot.git
-
Fetch the latest updates from the original repository:
git fetch upstream
-
Create a new branch for your changes:
git checkout -b mychange upstream/master
-
Make your changes to the code.
-
Commit your changes:
git add . git commit -m "Describe your changes here"
-
Push your changes to your fork:
git push origin mychange
-
Go to your fork on GitHub. You should see a
Compare & pull request
button. Click it to create a pull request.- When creating the pull request, you can choose to allow maintainers to make edits. This is helpful if they need to make minor adjustments before merging.
If you need to make more changes after your initial commit:
-
Make the changes locally.
-
Amend your previous commit if you want to keep it as a single commit (optional):
git add . git commit --amend --no-edit
-
Force push your changes (since you've amended the commit):
git push -f origin mychange
To keep your fork up to date with the original repository:
-
Fetch updates from the upstream:
git fetch upstream
-
Merge updates into your master branch:
git checkout master git merge upstream/master
-
Push updates to your fork:
git push origin master
Note: It’s important to regularly sync your fork, especially before starting a new change.
- Use TypeScript for all new code
- Follow the existing code style
- Use ESLint and Prettier for code formatting
- Write tests for new features
- Update documentation when needed
If you need help with anything, feel free to:
- Open an issue
- Ask questions in pull requests
- Contact the maintainers
Thank you for contributing!