This repo contains the source code and documentation for Bottender.
- clone this repo to your local machine
yarnto install the website's npm dependencies.
yarn run devto start the dev server (powered by Gatsby)open http://localhost:8000to open the site
git checkout sourcein your local repogit pull origin sourceto ensure you have the latest main codegit checkout -b the-name-of-my-branchto create a branch (remember to replacethe-name-of-my-branchwith a suitable name)
- Changes to React components in
srcwill hot-reload - Changes to markdown files in
contentwill hot-reload - If working with plugins, you may need to remove the
.cachedirectory and restart the server.
- Run
yarn run lintfrom the project root. Make sure it pass the check. - If possible, test any visual changes in all latest version of common browsers, on both desktop and mobile.
git add -A && git commit -m "My message"(replacingMy messagewith a commit message, such asFixed header logo on Android) to stage and commit your changesgit push my-fork-name the-name-of-my-branch- Make a pull-request
yarn resetto clear the local cacherm -rf node_modules && yarnto reinstall the dependencies