I start move to Symfony Flex structure, but cannot find more informations about parameters.yml and parameters.yml.dist - its removed ? how now create bundles with on install ask abount configuration details like we have in older versions ?
Bundles now have their own configuration files which will be installed to the config folder by flex.
To my knowledge parameters.yml is not used anymore, instead you're encouraged to use environment variables and the .env file in root.
Related
As mentioned in the title, is there a way to rename Wildfly tmp/vfs/temp/temp-xxxxxxxxxxxxxxx/content-yyyyyyyyyyyyyyy folder(s)?
What I would like to obtain is something like this:
tmp/vfs/temp/temp-xxxxxxxxxxxxxxx/WebApp.war, where WebApp.war is the name of a WAR package inside the deployment folder
OR
tmp/vfs/temp/temp-xxxxxxxxxxxxxxx/WebApp.war-yyyyyyyyyyyyyyy.
I tried looking in the Wildfly documentation, but I could not find anything useful.
I am pretty sure it is feasible and it should not be related to a configuration file inside the WAR package.
Currently I am using two versions of Wildfly (on different hosts): 8.1.0 and 10.0.0-Final.
Thanks in advance for your time.
I am using TYPO3 SURF to deploy my application. I added "LocalConfiguration.php" to my .gitignore. So everytime I push and deploy, the config file is missing from the live server and I have to go through the install tool again.
What is the best way to fix this ?
Include your LocalConfiguration.php in your versioning and deployment. Use a configuration switch to have different configuration values on different systems (e.g. development vs production). Here are some ways how to do it: Good practices in TYPO3 projects #3 Use a configuration switch mechanism
You might want to copy the LocalConfiguration.php file into your shared folder and create a symlink from your release folder to that file.
https://docs.typo3.org/other/typo3/surf/2.0/en-us/Examples/TYPO3/Index.html
I am trying to add a plugin named Redmine Scrumbler to Redmine. So far I have created a folder named "plugins" in the root folder where Redmine is installed and I've cloned the plugin from this repository Redmine Scrumbler to that folder.
Now this says that if the plugin requires migration I have to migrate it. Now how do I know if the plugin requires migration or not? Also what exactly does plugin migration mean in Redmine?
Also I didn't see "plugins" folder in the root folder where Redmine is installed. Does that folder need to be created or not? (The version of Redmine is 2.4.1)
Now how do I know if the plugin requires migration or not?
Check plugin folder plugin_root/db/migrate. If the folder exists and have some migrations (files) then plugin requires to run migration. Mentioned plugin requires migration (https://github.com/256MbTeam/Redmine-Scrumbler/tree/master/db/migrate)
Also what exactly does plugin migration mean in redmine?
The plugin will update the DB structure. Plugins usually create some additional tables/columns.
Also I didn't see "plugins" folder in the root folder where Redmine is installed. Does that folder need to be created or not? (The version of Redmine is 2.4.1)
Yes. The folder should be created.
PS mentioned plugin's last update time was two years ago. It looks like the plugin is not supported any more.
Redmine Scrumbler isn't officially supported on versions >2.x. You shouldn't trust it.
I built a universal tarball using sbt-native-packager.
How do I load configuration files like c3p0 and application.conf from /etc/myapp or anyother custom location when I start the app.
I don't want the config files to be part of the distribution tarball itself.
I believe you can use typesafe config's "include" feature to grab from a direct location.
See https://github.com/typesafehub/config#features-of-hocon
That said, this would require you to create different configurations based on where you're installing, if you wanted a global file as the config file.
I am using 1.3.7 on a windows system, the plugins are placed in a different folder and I have made a few changes in the code related to the plugins.
I now need to check in this project into svn, how do i go about doing it ? specifically how do i check in he plugins ?
When a team mate of mine checks out this project, where will he find the plugins ?
I realize that similar questions have been asked here and here
However they do not address this specific problem.
The plugins you have made need to be made inline. i.e. they will be in your grails-app folder.
To make a plugin inline create a folder say "custom-plugins" in your grails-app folder and copy the modified plugin there. Now in your BuildConfig.groovy add following lines
grails.plugin.location.'plugin-name'="custom-plugins/plugin-name"
repeat this for different plugins you have changed.
I personally prefer to add "custom" in the name of modified plugin to differentiate it from original.