Comments (4)
Yea, it does, thanks. I only have one environment, so the core_store
table works for me, but would probably be good to add information about both the NGINX config & your config-sync
plugin to the README in case anyone else runs into the same problem. Might be good to cover it as an advanced setup.
from strapi-plugin-sitemap.
Ah allright, I think I get the issue.
To answer your question: the settings of this plugin are stored in de core_store
table of your database.
The contents of this table can not be migrated across environments by default in Strapi.
So you would manually have to do the changes in the admin UI again in your docker env, or copy the contents of the core_store
table and paste them in the database of your docker.
Another option for this is using my other strapi plugin strapi-plugin-config-sync.
This plugin allows you to export all the values from the core_store
table and write them as json files in the /extensions
folder of you project.
With the values persisted as files you can migrate to another environment en import all these files to overwrite your database with the new values.
This plugin is still in development, but it should do the trick.
Let me know if this clears it up for you!
from strapi-plugin-sitemap.
Hey @tjrexer!
Thank you for your issue submission.
As you stated; once downloaded this plugin wil be stored in de node_modules folder of your Strapi instance.
Though I'm unsure what you mean by hosting it in a container. Do you mean a docker container? With the strapi/strapi docker image?
Also as far as I'm concerned any community plugin you'd download will be stored in the node_modules folder. Do you also maby have an example of a plugin which does work in your installation.
Thanks in advance! 🙃
from strapi-plugin-sitemap.
When writing my reply, started to dig a little more into my setup. Turns out I didn't have nginx set up correctly. I didn't realize that the plugin added new api paths that needed to be added to proxy settings, thought it worked within the existing content-manager
paths.
With regards to the strapi/strapi docker
setup, you are correct, that is what I was referring to. Storing in node_modules
isn't what I was referring to though. Most extensions/plugins have configs that are modified under the /config
or /extensions
directory in the project. However, since there aren't any settings for this plugin there, you need to import the full ./build/
directory from outside the container.
Best practice for docker is to import configs/files, & rebuild a clean copy inside the container. However, since I don't see anything for the plugin I don't believe it's being imported correctly. That is why I suspect that the settings or changes are being stored locally for the plugin in node_modules
, but it could also be in .cache
(another file not imported).
from strapi-plugin-sitemap.
Related Issues (20)
- How to combine multiple content-types? HOT 2
- Server.js configuration for the sitemap plugin HOT 12
- Error when generating sitemap on Strapi 4.14.4 and Node v18 HOT 2
- Multiple hostnames/host profiles HOT 1
- Critical dependency: the request of a dependency is an expression HOT 5
- Allow relational fields be declared in url patern recursively HOT 3
- Bug: excludedTypes config setting doesn't seem to work HOT 5
- Bug: missing settings labels HOT 5
- Make the <xhtml:link> element in XML optional HOT 1
- feature request: pretty print option HOT 6
- Feature Request: i18n `prefix_except_default` strategy HOT 8
- Sitemap Breaks When Exceeding Limit and Strapi Port Differs from Default HOT 4
- Add an additional link tag with hreflang x-default to improve locale detection fallback HOT 5
- Does not work with ADMIN_PATH and STRAPI_ADMIN_BACKEND_URL HOT 1
- Add extension points / hooks. HOT 1
- [FEAT] Ignore all content types but the created by content type builder, i.e., api content types HOT 5
- Error building SitemapStream in Strapi Sitemap Plugin after removing locale HOT 4
- [FEAT] Wildcard for language in multilanguage sitemap patterns HOT 7
- Generating sitemap via CLI throws error and fails HOT 1
- Unwanted tag <script/> in the generated file sitemap.xml HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strapi-plugin-sitemap.