forked from crosstocci/postage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPACKAGE.txt
73 lines (55 loc) · 2.15 KB
/
PACKAGE.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
DONT FORGET DEBIAN (rename to distinguish)
CHECK THE PG PATCHES!!!!!!!!!! https://www.postgresql.org/support/versioning/
CHECK THE LOGS!!!!!!!!!!!!!
TURN ON THE ERROR LOGS!!!!!
Mac package:
cd Repos/postage/
./package-nix.sh
This outputs postage_electron/dist/Postage-VERSION.dmg
Mac test:
Install Postage from DMG
Open Terminal
/Applications/Postage.app/Contents/MacOS/Postage
Go to Postage
Cmd+Q
Go back to Terminal
nano ~/.postage/postage-connections.conf
delete and paste:
test: host=<ipaddress> port=5431 dbname=postgres sslmode=disable
test2: host=<ipaddress> port=5431 dbname='WFP\'s "Testing" Database' sslmode=disable
localhost@5432: hostaddr=127.0.0.1 port=5432 dbname=postgres
ip example: hostaddr=127.0.0.1 port=5442 dbname=postgres
host example: host=domain_name.com port=5432 dbname=postgres sslmode=require
replace <ipaddress> with the ip address of a server running a compatable testing database on 5431
Win package:
Use VS2017 x86 Native Tools Prompt
cd \Users\nunzio\Repos\postage
package-windows
make sure to delete old version and rename wfprod_group/postage/packages/Postage Windows VERSION/
This outputs postage_electron/dist/Postage Setup VERSION.exe
Win test:
Install Postage from EXE
edit connections
delete and paste:
test: host=<ipaddress> port=5431 dbname=postgres sslmode=disable
test2: host=<ipaddress> port=5431 dbname='WFP\'s "Testing" Database' sslmode=disable
localhost@5432: hostaddr=127.0.0.1 port=5432 dbname=postgres
ip example: hostaddr=127.0.0.1 port=5442 dbname=postgres
host example: host=domain_name.com port=5432 dbname=postgres sslmode=require
replace <ipaddress> with the ip address of a server running a compatable testing database on 5431
close postage
go to desktop
right click on shortcut
show in folder
deselect
shift right-click in empty space
open command prompt
postage --postage-test
Linux (good to put in a script):
rm -f test.sh
curl https://raw.githubusercontent.com/<repourl>/master/src/test.sh > ./test.sh
chmod 770 test.sh
./test.sh
rm -f test.sh
replace <repourl> with wherever it is
install node, libicns-utils, GraphicsMagick, rpm-build and dpkg-deb