You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,7 +155,7 @@ const MODE = {
155
155
};
156
156
```
157
157
158
-
When you are all ready, run the following command and your outputted art will be in the `build` directory:
158
+
When you are all ready, run the following command and your outputted art will be in the `build/images` directory and the json in the `build/json` directory:
159
159
160
160
```sh
161
161
npm run build
@@ -167,7 +167,7 @@ or
167
167
node index.js
168
168
```
169
169
170
-
The program will output all the images in the `build` directory along with the metadata files. Each collection will have a `_metadata.json` file that consists of all the metadata in the collection inside the `build` folder. The `build` folder also will contain all the images as well as single json files that represent each image file. The single json file of a image will look something like this:
170
+
The program will output all the images in the `build/images` directory along with the metadata files in the `build/json` directory. Each collection will have a `_metadata.json` file that consists of all the metadata in the collection inside the `build/json` directory. The `build/json` folder also will contain all the single json files that represent each image file. The single json file of a image will look something like this:
171
171
172
172
```json
173
173
{
@@ -192,12 +192,20 @@ The program will output all the images in the `build` directory along with the m
192
192
193
193
That's it, you're done.
194
194
195
+
### Updating baseUri for IPFS
196
+
197
+
You might possibly want to update the baseUri after you have ran your collection. To update the baseUri simply run:
198
+
199
+
```sh
200
+
node utils/updateBaseUri.js
201
+
```
202
+
195
203
### Printing rarity data (Experimental feature)
196
204
197
205
To see the percentages of each attribute across your collection, run:
0 commit comments