GraphemeNFT / rarible-scaffold

MIT License
0 stars 0 forks source link

deploy static site (to github pages?) #67

Open dcsan opened 2 years ago

dcsan commented 2 years ago

https://github.com/GraphemeNFT/graphemenft.github.io

dcsan commented 2 years ago

also update default metadata to point to it

"description": "A Grapheme NFT Letter", "external_url": "https://austingriffith.com/portfolio/paintings/", "image": "https://austingriffith.com/images/paintings/buffalo.jpg", so the image field should be something else i guess...?

dcsan commented 2 years ago

I think its easier if we use the /docs directory in the current repo? otherwise we have to copy all the build files to another source and "push" ?

but we might want to rename this repo first?

dcsan commented 2 years ago

how about GRAPHITI since you used graphemeNFT on the other one?

slight name clash, but we have bad SEO anyway cos of grapheme https://www.graphiti.dev/guides/

dcsan commented 2 years ago

hit a problem on building:

➜  react-app git:(rarible-local) ✗ yarn build
yarn run v1.22.10
warning package.json: No license field
$ react-scripts build
Creating an optimized production build...
Failed to compile.

./src/components/DrawWordTool.jsx
Attempted import error: 'crop' is not exported from './Letters/grapheme'.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
➜  react-app git:(rarible-local) ✗

but the command is there and exported.... any ideas?

i really wanna switch to typescript if we build this thing for real. a bit more overhead but catches many errors and much smoother once you have some types to work with.