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
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
- Cross platform supported: Windows, Mac OS(intel, m1 chip)
26
28
27
29
## Install
28
30
29
-
Clone this repo and compile it.
31
+
Clone this repo and compile it. Go supports cross-compile.
30
32
31
33
```sh
32
34
git clone https://github.com/asunlabs/owlly.git
33
-
go build owlly.go
34
-
```
35
35
36
-
And execute owlly.exe.
36
+
# from Windows(Powershell) to Mac OS
37
+
$env:GOOS = "darwin"
38
+
$env:GOARCH = "amd64"
39
+
go build -o ./bin/owlly-for-mac owlly.go
37
40
38
-
```sh
39
-
./owlly.exe
41
+
# for Windows
42
+
go build -o ./bin/owlly-for-window.exe owlly.go
40
43
```
41
44
42
-
Or, simply download executable from [release](https://github.com/asunlabs/owlly/releases/tag/ver0.1.0) and execute it.
45
+
Or, simply download binaries from [release](https://github.com/asunlabs/owlly/releases) and execute it.
43
46
44
47
## Prerequisite
45
48
@@ -56,41 +59,43 @@ AUTHOR="developerasun"
56
59
FOO="bar"
57
60
SLACK_BOT_USER_OAUTH_TOKEN="xoxb-some-value-here"
58
61
SLACK_CHANNEL_ID="channel-id-here"
59
-
# OWLLY_DONE="true" # when update is done
62
+
# OWLLY_DONE="true" // add this line when update is done
60
63
```
61
64
62
65
## Usage
63
66
64
-
1. Run Owlly to watch .env changes.
65
-
66
-
```sh
67
-
# if you cloned a repo,
68
-
go run owlly.go
69
-
70
-
# if you executes .exe file,
71
-
./owlly.exe
72
-
```
73
-
74
67
1. Update .env as you wish.
75
68
76
69
```sh
77
70
FOO="bar"
78
71
```
79
72
80
-
1. Once done, set OWLLY_DONE variable in your .env. This variable will be a key for Owlly to know if your update is done.
73
+
2. Once done, set OWLLY_DONE variable in your .env. This variable will be a key for Owlly to know if your update is done.
81
74
82
75
```sh
83
76
# length of OWLLY_DONE > 0 ? send a DM : do nothing
84
77
OWLLY_DONE="true"
85
78
```
86
79
80
+
3. Run Owlly to watch .env changes.
81
+
82
+
```sh
83
+
# if you cloned a repo,
84
+
go run owlly.go
85
+
86
+
# if you executes binaries,
87
+
./owlly-for-windows.exe
88
+
./owlly-for-mac
89
+
./owlly-for-mac-m1
90
+
```
91
+
87
92
Check your slack channel if the message is sent.
88
93
89
94
**Note**
90
95
91
-
Owlly ver 0.1.0 does not support hot-reload yet. It means that you have to re-start Owlly in the situation where 1) you sent DM already 2) but updated it again 3) and want to send it again. Log will be printed but Slack API would not invoke in the case.
96
+
Owlly ver 0.1.0 does not support hot-reload yet. It means that you have to re-start Owlly in the situation where 1) you sent DM already 2) but updated it again 3) and want to send it again.
92
97
93
-
## Contributor
98
+
## Maintainer
94
99
95
100
Project Created by [developerasun](https://github.com/developerasun)
0 commit comments