-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleCreator - Creating module in production Enviroment #1211
Comments
Which version of Oqtane are you running in production? Did you use the Internal or External module template? |
@sbwalker it oqtane 2.0.1 (Oqtane.Client, Version=2.0.1.0,) and was both External and Internal templates |
The Module Creator was not intended to be used in production. The External template scaffolds the assets in a folder which is outside of the Oqtane root folder - and production hosting environments will explicitly forbid this. The Internal template scaffolds the assets within the Oqtane root folder however they would need to be compiled into the Oqtane assemblies in order to make them active - which is also not possible in a production hosting environment. Why are you trying to use the Module Creator in production? |
Basically exploring the functionality in production. |
Ok, the only thing I can suggest is that we add a message to the top of the Module Creator module which says "The Module Creator Is Not Intended To Be Used In Production Environments" |
Would it not be better to hide the functionality altogether. |
There is no identifier to know if you are running in production or development. Developers use host file entries to point domain names to their development environment. |
fix #1211 - add message to indicate Module Creator is only intended for use in development environments
Module was not created and log shows this error.
The text was updated successfully, but these errors were encountered: