Thanks for your interest in contributing to JavaScripture.
There are many ways to contribute – reporting bugs, feature suggestions, fixing bugs, submitting pull requests for enhancements.
We'd love to hear about any issues you have or ideas for new features. You can just file a GitHub issue, or contact me.
If you’d like to contribute code, first, you will need to run JavaScripture locally. Here is the short version:
- Make sure you have git, node and npm installed
- Clone this repository locally with [email protected]:scruffian/Javascripture.git
- Execute npm start to install packages and start the server
- Open http://localhost:7777 in your browser. I find it best to work in Firefox in private mode to avoid caching issues.
When you have a patch ready to submit in your local version you need to submit a pull request so it can be reviewed before being merged. Here is a typical workflow:
- Make sure your local repo is up to date:
git pull
- Create a new branch locally and check it out: `git checkout -b branch-name"
- Add the files you have changed:
git add filename.js
- Commit the files: `git commit -m "Commit message goes here"
- Push your local branch to the remote server:
git push --set-upstream origin branch-name
- Open the repo and use the GUI to create and submit a pull request from this branch: https://github.com/scruffian/javascripture