Skip to content

Bramvanosta/wordpress-docker-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress starter kit using Docker

Includes

Dependencies

Installation

  1. Clone the repository:
    git clone https://github.com/Bramvanosta/wordpress-docker-starter.git
    
  2. Build and launch the docker containers:
    docker-compose up
    
  3. Point the container's IP address to the right hosts by adding this line to the /etc/hosts file:
    127.0.0.1       wordpress.dev
    
  4. You can now access the following url:
    • wordpress.dev

Importing / Exporting the Wordpress database

The database dump file is located in config/wp_dump.sql. To import this file, execute the following script:

./scripts/importWordpressDb.sh

To export the latest version of the database, execute the following script:

./scripts/exportWordpressDb.sh

To empty the database, execute the following script:

./scripts/emptyWordpressDb.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published