Open christoph-bessei opened 6 years ago
Yes, i think also the console command would be a good solution. We should probably show all files which get deleted through the command, then the user need to confirm the action.
In the latest 1.1.2 release we have a new command system:clean
which can remove all demo files from the repository. We use this command now also internally but please check whether this works for your case.
The current fusio installer (
composer create-project fusio/fusio
) just clones the apioo/fusio repository. It would be nice to have a "clean install"-option, which removes examples and documentation after installation. This could be done by a composercomposer create-project fusio/fusio
script or an own fusio console command e.g.php bin/fusio system:removeExamples
. The console command is probably better:Examples of (probably) unnecessary files/directories: