Skip to content
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

Add "Flat Files or Database" prompt #79

Merged
merged 12 commits into from
Oct 10, 2024
Merged

Conversation

duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Oct 7, 2024

This pull request adds a new "Where do you want to store your content?" prompt to the statamic new command, making it easier to choose how you want to store content before you start development.

This PR also adds some additional prompts allowing you to configure the database engine (like choosing between SQLite, MySQL, etc).

Requires statamic/cms#10910.

Usage

CleanShot.2024-10-08.at.16.35.37.mp4

@aerni
Copy link

aerni commented Oct 7, 2024

Very nice! What about also adding a multi-select so you can choose to use the DB only for certain things like assets?

@jackmcdade
Copy link
Member

It does that after you pick database.

@mustafa-online
Copy link

This is what I've been waiting for 🎉🎉😍

@duncanmcclean duncanmcclean mentioned this pull request Oct 9, 2024
@duncanmcclean duncanmcclean force-pushed the flat-file-or-db-prompt branch from c740e9d to d338ffb Compare October 9, 2024 15:14
@jasonvarga jasonvarga merged commit b860085 into master Oct 10, 2024
@jasonvarga jasonvarga deleted the flat-file-or-db-prompt branch October 10, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants