Skip to content

Create new WP project module #2

@tysian

Description

@tysian

I want to create a module, to allow scaffold a new WP website from scratch using this CLI.

  • Select config
    • No default config
    • Allow to generate config by asking questions, user can save this config to a JSON file and use this newly created config immidiately
    • Check if there is a config file in .configs directory in current working directory
    • If this config have empty values, ask user if they want to fill them
  • Create new WP site using wp cli
    • Download new WP
    • Install WordPress
    • Find a way to install WP without plugins and themes (or remove them after installation)
    • Create a file with user credentials
    • Init a git repo
    • Create a .gitignore file
    • Create a initial commit
  • WP Setup
    • Find a way to disable search indexing, disable comments, set permalinks
    • Install plugins and activate them
    • Update plugins
    • Print instructions about configuring those plugins.
  • Install theme
    • Download theme using degit
    • Ask for using Template cleaning module

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions