forked from deeNewearth/MintGateWPWidget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevnotes.txt
47 lines (27 loc) · 909 Bytes
/
devnotes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
https://codeburst.io/developing-and-publishing-a-typescript-npm-package-d9fc643d4229
To dev
start
cd ./wpWidget/script
npm run watch
///in the other cmd window
cd ./wpWidget
docker-compose up
///site available at http://localhost:56395
/// to debug wallet checker open chrome://inspect
https://kinsta.com/blog/publish-plugin-wordpress-plugin-directory/
To create staging
1) ensure the wordpress container is removed ( along with any volumes)
2)
-----
WORDPRESS debug info is available on DOcker logs
---
To publish new build
from explorer Run deployment/PushToHub.bat
-- to deploy
Update version in deployment/demo.site.ym and apply
---- to test deploy build -----
cd MintGateWPWidget
docker build -t testme1 -f Dockerfile.staging .
cd MintGateWPWidget\wpWidget
docker rm wpwidget_wordpress_1
docker-compose -f docker-compose.staging.yml up