Socket
Socket
Sign inDemoInstall

create-wp-site

Package Overview
Dependencies
216
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    create-wp-site

Create local WordPress development with 10up/wp-local-docker


Version published
Weekly downloads
5
increased by66.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

create-wp-site

npm version

create-wp-site is a command line tool to create your local WordPress development with 10up/wp-local-docker.
This tools is inspired by site creation wizard for VVV by brad/vv.

Requirements

Install

$ npm install -g create-wp-site

Usage

Once installed globally, create-wp-site should be available from shell.

$ create-wp-site

  Usage: create-wp-site [options] [command]
  
  
    Commands:
  
      info                Show information about this tool
      create              Create new WordPress Site
      addhost [options]   Add hosts to /etc/hosts or C:/Windows/System32/drivers/etc/hosts, need sudo privileges
  
    Options:
  
      -h, --help     output usage information
      -V, --version  output the version number
  
    Examples:
  
      $ create-wp-site <directory-name>

Using Yarn

$ yarn create wp-site <directory-name>

For more help on specific command, supply -h or --help.

Compile from source

If you want to contribute or want to compile from the source

$ git clone https://github.com/ivankristianto/create-wp-site.git
$ cd create-wp-site
$ npm install && npm run build

Todo(s)

  • Clone a repository to wp-content
  • Import SQL File
  • Option to remove default themes & plugins
  • Option to add WP_DEBUG and WP_DEBUG_LOG
  • Option to enable multisite subdirectory / subdomain
  • Command to compress everything

Note: Pull requests and any feedbacks are always welcome!

Known Issue(s)

  • This is not tested on Windows platform yet.

Credits

Thanks to contributors

License

MIT

Keywords

FAQs

Last updated on 02 Jun 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc