Hi! Thank you so much for your interest in contributing.
To create a new Tool as /my-new-tool
- Create and export your React Component at /js/tools/my-new-tool/ToolComponent.jsx.
- Add it to
importTool()
ofToolPage
. - Add it to
Tool.js
. - Add it to
swoff.js
.
- Push a commit that bumps up the version of Peachy Tools by modifying these files:
build-page.js
webpack.conf.js
swoff.js
- Use Google Cloud's Cloud Shell.
- Either
git clone https://github.com/NimJay/peachy-tools.git
orgit pull
on the existing repository clone. - Go into the
src/
folder. - Reinstall npm modules:
rm -r node_modules
npm install
- Uncomment the Google Analytics
<script>
injs/server/build-page.js
. npm run build-front-end-css
npm run build-front-end-js
- If a new tool was added:
npm run generate-code
- Upload the code to Google App Engine:
gcloud app deploy