how to setup demo line up: a strapi container and a refine app container?
as title say, i am trying on a centos docker env to play this demo:
inside the 'strapi' container:
on the web page 0.0.0.0:1337 we create the strapi full access token like :
dc7ff0d97ee7b1271e4ca94748da5c00ad8d26a77bb873f5fa26be0d1850ddba064ba331388b6e4bd483c2c116795f778726808130530a25f4d9b751b465f20de4c973cc2e23bdaaabb332a2f0c27e02f3536539ec89a0d091fbb831c475e59849a2525c73059079c576385b61db9c3c1ca97e619f72a20f748831c58f7c6935
create the refine container:
inside the 'refine' container:
this is OK for your kindly demo which link to your website. but,
when i try to reconfig the src/constants.ts :
i can not login on the http://localhost:5173/ , the web ui failed by the image attachment.
pls correct me which step i had do the wrong thing, thanks very much !
![No description](https://cdn.answeroverflow.com/1118553183829102743/image.png)
11 Replies
Hi @timiil. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the refine documentation and blog posts for more information on setting up and configuring refine with Strapi:
- Refine Documentation (https://refine.dev/docs)
- Refine Blog (https://refine.dev/blog)
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------Overview | refine
What is refine?
Blog | refine
A Docusaurus powered blog!
<@1050697260247306331> kapa.ai is still learning and improving, please let us how it did by reacting below
ratty-blush•16mo ago
Hey @timiil,
Actually I have not enough knowledge about Docker, so I can't help you with that. But maybe, our Strapi server repo can inspire you. You can check it out here: https://github.com/refinedev/refine-strapi/tree/v4
wise-white•15mo ago
i think may be is the CORS problem, do you kindly have an example about how to use vite proxy config or nginx to reverse proxy the strapi that can let refine access it ?
stormy-gold•15mo ago
please tell me how to remove this item.
![No description](https://cdn.answeroverflow.com/1120381778205622355/image.png)
stormy-gold•15mo ago
I also can't find the layout component in the latest file structure. Please help me asap
xenial-black•15mo ago
Inferencer | refine
@refinedev/inferencer is a package that provides a way to automatically generate views for resources based on the data structure. The aim is to reduce the amount of time spent on creating views for resources by generating the code automatically that can be customized easily.
stormy-gold•15mo ago
When the web will be deployed on the server, will it still be showing this?
xenial-black•15mo ago
Hello @saheb961 please read the link I sent you. It will be hidden on prod as mentioned.
stormy-gold•15mo ago
Roger, thanks