cruddiy icon indicating copy to clipboard operation
cruddiy copied to clipboard

Suggestion - Add path in config file for pages to generate into.

Open maxresnikoff opened this issue 3 years ago • 4 comments

I quite like to access the CRUD pages by just typing: domain.com/crud With the core (generation files) being as such: domain.com/crud/core

currently, it generates the files to a nested 'app' folder, so to access the CRUD pages, I have to type: domain.com/crud/core/app

I have moved them out of the app folder, but it is a big hassle whenever we make a database change and have to start from scratch with CRUDDIY again each time.

Would be nice if during the configuration step and file it allows you to enter a path to generate the files into a specified folder. Eg.

Install Directory:
[ ../crud ]

This way not only will it generate the files into a different directory, but will also allow the changing of the folder from 'app' to something else

maxresnikoff avatar May 12 '21 15:05 maxresnikoff

+1 ❤

kakohari avatar Jul 13 '22 09:07 kakohari

@maxresnikoff I'm considering doint this, in regard to #100.

Do you have any other real-world use case I should be aware of?

Also, when you make databases changes, you'll be happy to know that Cruddiy now has a full CRUD configuration backup and restore

germain-italic avatar Dec 04 '23 15:12 germain-italic

Same question to @kakohari

germain-italic avatar Dec 04 '23 15:12 germain-italic

@maxresnikoff @kakohari the feature is now available in master: https://github.com/jan-vandenberg/cruddiy/pull/119

germain-italic avatar Dec 09 '23 17:12 germain-italic