File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,22 @@ To build for development or production, simply tag the repo with `_version_-pre`
39
39
should build and deploy. You can also build directly with ` NODE_ENV=development npm run build ` or
40
40
` NODE_ENV=production npm run build ` , although this should generally not be necessary.
41
41
42
+ #### Running on Apple Silicon
43
+
44
+ If you're using a newer Mac laptop, run these commands instead:
45
+
46
+ ``` bash
47
+ # Install dependencies
48
+ docker run -v " $( PWD) :/src" -w /src --entrypoint npm -it node:14 install
49
+
50
+ # Develop locally
51
+ docker run -v " $( PWD) :/src" -w /src -p 3000:3000 --entrypoint npm -it node:14 run watch
52
+ # Open your browser and go to http://localhost:3000/
53
+
54
+ # Build
55
+ docker run -v " $( PWD) :/src" -w /src -p 3000:3000 --entrypoint npm -it node:14 run build
56
+ ```
57
+
42
58
### Deploying code automatically
43
59
44
60
The long-term plan is to have both development and production code deployed automatically via GitHub Actions. The
You can’t perform that action at this time.
0 commit comments