Skip to content

Downloads all Wordpress website files and database and imports them into your local development enviroment. Full support for importing a WP website into LocalWP host.

Notifications You must be signed in to change notification settings

tsarouxas/wordget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordGet - Download a Wordpress Website into your local development

Downloads all Wordpress website files and imports remote database for local development in MAMP/XAMPP or LOCALWP by Flywheel
Copyright (C) 2020 Hellenic Technologies https://hellenictechnologies.com/
[email protected]
version 1.2.4

INSTALLATION: Make wordget executable and add to your PATH

chmod +x /path_to_wordget/wordget.sh ln -s /path_to_wordget/wordget.sh /usr/local/bin/wordget You can now run it from anywhere in a terminal just by typing the command: wordget

USAGE:

wordget -h website_ipaddress -u website_username -s source_directory -t target_directory -d local_database_name -o exclude-uploads

EXAMPLES:

  1. Download the whole project into a LocalWP site (Requires to be run from the right-click option "Open Site Shell" inside LocalWP) wordget -h 88.99.242.152 -u electropop -s /home/electropop/dev.electropop.gr/ -t ~/Sites/electropop/htdocs/ -o localwp,exclude-uploads

  2. Download files only without the database or the uploads folder wordget -h 88.99.242.152 -u electropop -s /home/electropop/dev.electropop.gr/ -t /Users/george/Sites/electropop/htdocs/ -o exclude-uploads

  3. Download all files and database in current folder wordget -h 88.99.242.152 -u electropop -s /home/electropop/dev.electropop.gr/ -d mylocaldbname

REQUIREMENTS:

  • wp needs to be installed on the remote server in case that LocalWP is to be used locally.
  • Windows users MUST always run Wordget from a GIT BASH shell

CHANGELOG:

  • 2020-07-26 direct integration with LocalWP - using option localwp
  • 2020-06-29 fixed mysqldump downloading of remote database

About

Downloads all Wordpress website files and database and imports them into your local development enviroment. Full support for importing a WP website into LocalWP host.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages