You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEV.md
+23-4Lines changed: 23 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,11 @@
1
1
# Development using Mac Silicon
2
+
2
3
**TLDR**
4
+
3
5
- use Docker setup to easily dev
4
6
5
7
## 1. Machine Setup
8
+
6
9
1. Use Mac with Silicon
7
10
2. Install `php@8.4`
8
11
1. Run `brew install php@8.4`
@@ -11,7 +14,9 @@
11
14
1. Why? because `webdevops/php-apache-dev:8.4` doesn't work on ARM64 because of its apached ssl failing. [see this issue](https://github.com/webdevops/Dockerfile/issues/433). Weirdly, testing in orbstack works.
12
15
2. Run `brew install orbstack`
13
16
3. Run `Orbstack` in Application
17
+
14
18
## 2. Local Magento2.4 Setup w/ Xendit Module
19
+
15
20
1. Clone `magento2` in `./docker-magento/`
16
21
1. Run `git clone https://github.com/magento/magento2.git`
1. Important to use `https` as `http` might direct you to your Mac's local apache httpd
53
58
7. Add Sample Data
54
59
1.**Note**: this is so your store have products. useful for dev
@@ -62,7 +67,7 @@
62
67
1. (optional) If you encounter `curl error 28 while downloading https://repo.packagist.org/packages.json: Failed to connect to repo.packagist.org port 443 after 10007 ms: Timeout was reached` when downloading from composer, you may need to run this command first before retrying `composer config -g repo.packagist composer https://packagist.org`
0 commit comments