diff --git a/README.md b/README.md index 56b3c8d..133117e 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ Hosted on IPFS! - [Install](#install) - [Usage](#usage) - [Local development](#local-development) +- [Deploy](#deploy) - [Contribute](#contribute) - [License](#license) @@ -38,6 +39,18 @@ To build minified javascript for production: npm run build +## Deploy + +To deploy this, after merging any new PRs, follow these steps: + +1. Have an ipfs daemon running: `ipfs daemon` +2. Kill your `npm run dev` script if you happen to have it running. +3. `npm install && npm prune` +4. `npm run publish`. This should open the published page on the gateway. +5. Pin the hash: `ipfs pin add ` +6. Pin the hash to the gateways, on IRC: `!pin project-repos.ipfs.io` +7. Post the hash and url to https://github.com/ipfs/ops-requests/issues. + ## Contribute If you would like to contribute code to this repository, please dive in! Check out [the issues](//github.com/ipfs/project-repos/issues). Clicking the banner above will lead you to the general [IPFS community contribute guidelines](https://github.com/ipfs/community/blob/master/contributing.md), if you would like to contribute in other ways.