-
Notifications
You must be signed in to change notification settings - Fork 143
Developer guide
gamebeaker edited this page Sep 24, 2024
·
2 revisions
Download & Install Visual Studio Code https://code.visualstudio.com/Download
2024-09-24.15-05-33.mp4
Download & Install Git https://git-scm.com/download/win
2024-09-24.15-21-32.mp4
Download & Install node.js https://nodejs.org/en/download/prebuilt-installer
2024-09-24.15-27-07.mp4
- Create a fork of WebToEpub in github.
- Clone the fork to your pc
- Set up upstream remote branch All commands:
git clone https://github.com/<your_name>/WebToEpub.git
cd WebToEpub
git remote add upstream https://github.com/dteviot/WebToEpub.git
git fetch upstream
2024-09-24.15-09-11.mp4
- Set git credentials
git push
will prompt an login screen. - Set name and email
git config --global user.name "<your name>"
git config --global user.email "<your email>"
- run
npm install
&npm run lint
to check if everything works
To track the changes you make create a branch with a name that reflects these changes. Example: "Add xyParser" The new branch gets created from the remote upstream/ExperimentalTabMode branch.
git fetch upstream
git checkout -b <new_branch_name> upstream/ExperimentalTabMode
In the video the Visual Studio Code gui is used to create the new branch.
2024-09-24.18-07-27.mp4
Example: (Doesn't really create a new parser)
2024-09-24.18-10-02.mp4
npm run lint
can give errors that need to be fixed before they are accepted.
2024-09-24.18-10-53.mp4
Only commit the changes you made not files that got automatically created from npm.
git add <your_changed_fiels>
git commit -m "<commit message>"
example:
git add plugin/js/parsers/xyParser.js
git add plugin/popup.html
git commit -m "Add xyParser"
git push