mirror of
https://github.com/pomber/git-history.git
synced 2024-11-26 08:35:07 +03:00
Compare commits
3 Commits
5936a3e33b
...
be4a46a5e2
Author | SHA1 | Date | |
---|---|---|---|
|
be4a46a5e2 | ||
|
87aae1b17e | ||
|
7f9ecb7e7b |
35
readme.md
35
readme.md
@ -44,6 +44,41 @@ javascript: (function() {
|
||||
|
||||
You can use Git History for local git repos with the [CLI](https://github.com/pomber/git-history/tree/master/cli) or with the [VS Code extension](https://marketplace.visualstudio.com/items?itemName=pomber.git-file-history).
|
||||
|
||||
## Hacking
|
||||
|
||||
To run from local checkout:
|
||||
|
||||
yarn install
|
||||
yarn start
|
||||
|
||||
it'll open the starting page in browser, you'll want to append the path that comes after `https://github.com/`
|
||||
|
||||
### Testing & linting
|
||||
|
||||
yarn test
|
||||
|
||||
It stays running watching for source changes, press <kbd>w</kbd> for help, <kbd>q</kbd> to quit.
|
||||
|
||||
If it says "Code style issues found in the above file(s). Forgot to run Prettier?", run:
|
||||
|
||||
yarn format
|
||||
|
||||
### Netlify deploys
|
||||
|
||||
Once you submit a PR to `pomber/git-history` repo, Netlify will try to build it a deploy a publicly accessible preview domain such as https://deploy-preview-137--github-history.netlify.com/.
|
||||
To get the preview URL, look for "deploy/netlify Deploy preview ready!" line, click on "Details" link to its right.
|
||||
It will also get updated on each push to the PR branch.
|
||||
|
||||
If you want to set up hosting and public previews for branches of your fork _before_ you submit a PR:
|
||||
|
||||
1. Go to https://app.netlify.com/.
|
||||
2. Login with GitHub.
|
||||
3. Click "New site from Git" button.
|
||||
It'll likely prompt you to give Netlify some access to your repos.
|
||||
4. Choose your fork of this repo.
|
||||
5. Under "Build & deploy" settings, set Build command to `yarn build` and Publish directory to `build`.
|
||||
6. Under "Deploy contexts", configure which branches to build.
|
||||
|
||||
## Support Git History
|
||||
|
||||
### Sponsors
|
||||
|
Loading…
Reference in New Issue
Block a user