To start a basic Wordpress website we use a few starterscripts.
-
open terminal and cd to the directory this script is in
-
mkdir iamanartist or something else...
-
change the iamanartist dir-name in composer.json (3 times)
-
See https://wpackagist.org/ for more.
-
run: composer install
-
cd to wp directory (iamanartist) and copy wp-config-sample.php naar wp-config.php and fill in the dbase settings:
- cp wp-config-sample.php wp-config.php
-
Prepare an empty database
-
change tableprefix in something less obvious then wp_
-
you can delete composer file
-
open the site, via mamp
-
activate plugins
-
Fakerdata: https://www.youtube.com/watch?v=sZu9lbTzUDY
We use this script to import the database of a life Wordpress website into our development server.
We use this script to export the database of a local Wordpress website for import into our live site.
about: Make sure to use the MAMP PHP binary.
Feel free to use and change these scripts.
Drop a note if you like!