rodeo icon indicating copy to clipboard operation
rodeo copied to clipboard

Examples of how to use rodeo? Example repo with NFTs?

Open marcellodesales opened this issue 3 years ago • 5 comments

marcellodesales avatar Feb 21 '22 11:02 marcellodesales

Hi @marcellodesales if you run the giddyup npx command it will set the starter project up for you.

ian avatar Feb 22 '22 01:02 ian

@ian that would be awesome if we can have visual results.... if I can get it, I can provide examples!

marcellodesales avatar Feb 22 '22 02:02 marcellodesales

@marcellodesales Here's an quick clip:

console

ian avatar Feb 22 '22 17:02 ian

@marcellodesales Here's an quick clip:

@ian I meant a github repo with an example of the generated code! For those who don't have Node installed it will be harder to review... Maybe add an example a project and add the Github Pages of it so that we can view...

marcellodesales avatar Feb 22 '22 21:02 marcellodesales

Attempt

  • I could make progress here... But it's very hard
    • Could you add an option to NOT prompt the user, but get the values from ENV VARS?
    • (https://github.com/SBoudrias/Inquirer.js/issues/517#issuecomment-782116567)

Where to place the NFT assets?

Screen Shot 2022-02-23 at 3 40 13 PM Screen Shot 2022-02-23 at 3 39 58 PM

Bug showing up

  • running yarn dev
Building Rodeo ...
Problem writing Eleventy templates: (more in DEBUG output)
> Could not resolve pagination key in template data: tokens

`Error` was thrown:
    Error: Could not resolve pagination key in template data: tokens
        at Pagination._resolveItems (/rodeo/cactus-friends/node_modules/@11ty/eleventy/src/Plugins/Pagination.js:102:13)
        at Pagination.setData (/rodeo/cactus-friends/node_modules/@11ty/eleventy/src/Plugins/Pagination.js:65:24)
        at new Pagination (/rodeo/cactus-friends/node_modules/@11ty/eleventy/src/Plugins/Pagination.js:13:10)
        at Template.getTemplates (/rodeo/cactus-friends/node_modules/@11ty/eleventy/src/Template.js:494:21)
        at TemplateMap.initDependencyMap (/rodeo/cactus-friends/node_modules/@11ty/eleventy/src/TemplateMap.js:246:41)
        at async TemplateMap.cache (/rodeo/cactus-friends/node_modules/@11ty/eleventy/src/TemplateMap.js:279:5)
        at async TemplateWriter._createTemplateMap (/rodeo/cactus-friends/node_modules/@11ty/eleventy/src/TemplateWriter.js:170:5)
        at async TemplateWriter.writeTemplates (/rodeo/cactus-friends/node_modules/@11ty/eleventy/src/TemplateWriter.js:203:5)
        at async TemplateWriter.write (/rodeo/cactus-friends/node_modules/@11ty/eleventy/src/TemplateWriter.js:254:25)
        at async Eleventy.write (/rodeo/cactus-friends/node_modules/@11ty/eleventy/src/Eleventy.js:743:13)
Wrote 0 files in 0.50 seconds (v0.12.1)
Error: /rodeo/cactus-friends/node_modules/@giddyup/cli/dist/commands/../../node_modules/.bin/eleventy ["--quiet","--config","rodeo.js"] exited with non-zero code 1.
    at /rodeo/cactus-friends/node_modules/@giddyup/cli/dist/commands/dev.js:172:31
    at step (/rodeo/cactus-friends/node_modules/@giddyup/cli/dist/commands/dev.js:33:23)
    at Object.next (/rodeo/cactus-friends/node_modules/@giddyup/cli/dist/commands/dev.js:14:53)
    at fulfilled (/rodeo/cactus-friends/node_modules/@giddyup/cli/dist/commands/dev.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

Rodeo running on http://localhost:8080

Rodeo running on http://localhost:8080

marcellodesales avatar Feb 23 '22 23:02 marcellodesales