All posts

How to create a wp website

Go to local and add a new Wordpress site Click on the + button Choose preferred setup Choose a name for the site Choose a password and a username Go to the new Wordpress install…

A website travelling through a local development and deployment workshop

Archive note: this guide was recovered from my former WordPress notebook. The original date is preserved; commands and links may be updated as I verify them.

  • Go to local and add a new Wordpress site
    • Click on the + button
    • Choose preferred setup
    • Choose a name for the site
    • Choose a password and a username
  • Go to the new Wordpress installation folder
    • $ cd app/public
    • Delete the wp-content folder
    • $ rm -rf wp-content
    • $ clone wp-monorepo
  • Delete the .gitmodules and .gitignore files
    • $ rm -fr .gitmodules .gitignore
  • Move everything inside the wp-monorepo folder into the parent folder
    • $ rm -fr ../wp-config-sample.php
    • $ mv * ../
    • $ cd ../
    • $ rm -fr wp-monorepo
  • Go to 1and1 and create a new Data Base https://my.ionos.co.uk/mysql-create-database
  • Go to 1and1 and create a subdomain like w-7-s.ecreativ.co.uk
  • Create a new folder on the hosting called it same as the domain for instance w-7-s.ecreativ.co.uk
  • Connect the subdomain with the folder
  • Change movefile-sample.yml to movefile.yml
  • Add details about the local wp installation
  • Add the details for the hosting and the DB
  • Go to the Wordpress root folder on your local machine
    • $ wordmove doctor
    • $ wordmove push --all -e live
  • Enter into the server and add/change wp-config-sample.php to wp-config.php and add the DB details