magonxesp/wordpress

Wordpress using composer

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Type:project

1.0.1 2020-07-04 17:50 UTC

This package is auto-updated.

Last update: 2024-04-12 00:06:50 UTC


README

Wordpress base using composer for manage dependencies, themes and plugins.

Create the project

  1. Create wordpress project
    $ composer create-project magonxesp/wordpress myproject
  2. Create .env file
    $ cp .env.example .env
  3. Create database
  4. Set the domain and database on .env files
    DB_NAME=databasename
    DB_USER=root
    DB_PASSWORD=root
    DB_HOST=127.0.0.1
    
    WP_HOME=http://domain.local
    WP_SITEURL=http://domain.local
    
    COOKIE_DOMAIN=.domain.local
    COOKIEHASH=domain.local
    DOMAIN_CURRENT_SITE=domain.local