web-site dutchnews.ru re-development
First wordpress site I made in 2014
Redevelopment.
After many trying of
- Docker (problem with config))
- Vagrant/VirtualBox (too heavy for my MacBook Air)
- Native stack (config on Mojave sucked my mind today)
https://coolestguidesontheplanet.com/install-apache-mysql-php-on-macos-mojave-10-14/
Installed with Laravel Valet as the most easy and lightweight
https://wpbeaches.com/setting-up-valet-on-macos-for-local-wordpress-development/
For PhpMyAdmin on Valet: https://www.webfoobar.com/node/103
brew install phpmyadmin
cd /usr/local/share/phpmyadmin valet domain test valet link
PhpMyAdmin root/password Error (MySQL 8+):
https://gist.github.com/zubaer-ahammed/c81c9a0e37adc1cb9a6cdc61c4190f52
Make sure you have Stopped MySQL first (above).
Run the server in safe mode with privilege bypass: sudo mysqld_safe --skip-grant-tables
mysql -u root
UPDATE mysql.user SET authentication_string=null WHERE User='root';
FLUSH PRIVILEGES;
exit;
mysql -u root
ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'yourpasswd';
Error: ERROR 1045 (28000): Access denied for user 'root'@'localhost' The installer halts at the database creation stage because it doesn't have a password for your local MySQL instance.
Prevent this from happening by appending your wp valet commands like such: wp valet new site --dbpass=local_root_password.
valet uninstall
valet install
valet link
brew services restart --all
valet restart
valet open
for these PHO versions error (7.1 on localserver and 7.4 on brew PHP)
https://stitcher.io/blog/php-74-upgrade-mac
brew services restart php
Mysql versions (5.7 -> 8.0)
https://gist.github.com/benlinton/d24471729ed6c2ace731
Vagrant workflow
https://www.smashingmagazine.com/2015/07/development-to-deployment-workflow/
23.11.21
Update CV
Installed Local Clean Wordpress 5.8 (native apache, native php 7.3.24)
26.11.21
Developed Notes
----- Introductory Info - Initial Setup
Necessary Info -
Apache, MySQL, PHP setup Mac BigSur (and permissions) - https://wpbeaches.com/install-apache-mysql-php-on-macos-11-big-sur-and-earlier-macos/
Native Mac Big Sur Apache - Virtual Hosts - https://wpbeaches.com/set-up-virtual-hosts-on-macos-big-sur-11-in-apache/
Multiple PHP versions https://getgrav.org/blog/macos-monterey-apache-multiple-php-versions
ES 6 vs ES 5 - changes https://www.freecodecamp.org/news/write-less-do-more-with-javascript-es6-5fd4a8e50ee2/
To DO Later - Valet (Laravel) - for local PHP web Dev https://wpbeaches.com/setting-up-valet-on-macos-for-local-wordpress-development/
4 websites I was developing 2018 - 2021 (currently online) - Wordpress
15-30.11.2021 - setting local copies of Wordpress Websites - https://www.wpbeginner.com/wp-tutorials/how-to-move-live-wordpress-site-to-local-server/
26-11-21
4 WordPress Repositories set up on local dev now
- Dutchnews
- Blogsfeeds
- Fastgreece
- Local Gay Experiences
2 Local Dev to Do next Week
- Drupal 8 (M-iQ-v4 from 2016-17)
- Sage WP files Structure
29-11-21