{"id":128,"date":"2023-12-30T21:41:37","date_gmt":"2023-12-31T02:41:37","guid":{"rendered":"https:\/\/dev.annaelizabethshirley.com\/?p=128"},"modified":"2024-01-08T20:29:03","modified_gmt":"2024-01-09T01:29:03","slug":"devdiary-entry-6","status":"publish","type":"post","link":"https:\/\/dev.annaelizabethshirley.com\/devdiary-entry-6\/","title":{"rendered":"\ud83d\udcbb #devdiary entry 6"},"content":{"rendered":"\n
I worked on trying to copy our company development site to my computer so that I can have my own<\/em> development site to work on. On this computer I use Local<\/a> and followed their instructions to import a website. Both by uploading a zip and manually. Uploading by zip did not work. And when I did it manually, the content did not migrate.. no pages, posts, users, etc. The plugins did though… Still not sure what I did wrong. I imported the wp-contents folder and the .sql database. <\/p>\n\n\n\n Anyway, it is a large website, so I decided I would try a fresh migration via another method…<\/p>\n\n\n\n I remembered that I purchased the full version of the All-In-One<\/a> plugin a few years ago. After some digging around I was able to find it.<\/p>\n\n\n\n That worked!<\/p>\n\n\n\n *Note, for WP devs reading this who want to migrate a live site to local, there is also the ‘classic’ method of using XAMP or LAMP.<\/em> <\/p>\n\n\n\n …I ended up going with a plugin after all the time I spent on trying to do it manually with Local…<\/p>\n\n\n\n <\/p>\n\n\n\n The local site was initially running very s l o w. It was taking minutes to load a page. <\/p>\n\n\n\n I rebooted both Local and the computer. I also added define( ‘WP_MEMORY_LIMIT’, ‘512M’ ); to the wp-config.php file and adjusted the memory limit in the php.ini file. This seems to have solved the problem.<\/p>\n\n\n\n Next, I would like to connect GitHub to my Local<\/a> site.<\/p>\n\n\n\n I did follow the instructions and attempted to do this but it doesn’t seem to be working for me.<\/p>\n\n\n\n I’ve reached out to Local support to see what they say.<\/p>\n\n\n\n <\/p>\n\n\n\n In the meantime, I started going through The Odin Project Foundations course<\/a>. Yeah, I know, I am all over the place with my learning (learning various things at once) but that partly why I created this blog.. to keep track and eventually be more organized, if possible.<\/p>\n\n\n\n