Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCreate sample config.yml during first start #162
Comments
|
But we would have no idea on whether you want your config file to be placed in working dir or But I think we can include a default config in the release package, so when you decompress the archive the config file is extracted as well. |
|
I propose to create it in the same directory where the gotify "data/" folder which its subfolders is created. So all relevant folders, datas and configs are in the same place. (When you create an official *.deb file then you can place the config file in "/etc/gotify".) Having a sample config file in the release package would be a "quick win". Good idea. |
|
I still prefer my solution. |
|
I agree with @eternal-flame-AD, lets include a |
During first start the directorys "images" and "plugins" and the db are created, but no default config.yml file.
It yould be very helpful (not onyl for beginners) to create a sample/default config.yml in the same directory where the binary is.