Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (24 loc) · 639 Bytes

File metadata and controls

28 lines (24 loc) · 639 Bytes

Wordpress

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