File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,11 @@ npm install --save-dev @agentofuser/ipfs-deploy
6363npm install -g @agentofuser/ipfs-deploy
6464```
6565
66- You might want to alias that in your terminal. I added this to my ` ~/.bashrc ` :
66+ You can call it either as ` ipd ` or as ` ipfs-deploy ` :
6767
6868``` bash
69- alias ipd=' ipfs-deploy public'
69+ ipd plublic/
70+ ipfs-deploy public/
7071```
7172
7273### No install:
@@ -118,13 +119,13 @@ Assuming your website's production build is at the `public` subdirectory
118119the project's root:
119120
120121``` bash
121- ipfs-daemon public
122+ ipd public
122123```
123124
124125To see more details about command line usage, run:
125126
126127``` bash
127- ipfs-deploy --help
128+ ipd --help
128129```
129130
130131You can optionally add a deploy command to your ` package.json ` :
Original file line number Diff line number Diff line change 2626 },
2727 "main" : " index.js" ,
2828 "bin" : {
29- "ipfs-deploy" : " bin/ipfs-deploy.js"
29+ "ipfs-deploy" : " bin/ipfs-deploy.js" ,
30+ "ipd" : " bin/ipfs-deploy.js"
3031 },
3132 "dependencies" : {
3233 "@pinata/sdk" : " ^1.0.16" ,
You can’t perform that action at this time.
0 commit comments