Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
3ceb51de
Unverified
Commit
3ceb51de
authored
Nov 23, 2020
by
Ivan Vandot
Committed by
GitHub
Nov 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename folders for brew to swarm-bee (#1003)
* rename folders for brew ro swarm-bee * rename config path
parent
6c741079
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
.goreleaser.yml
.goreleaser.yml
+10
-10
bee-get-addr
packaging/homebrew/bee-get-addr
+1
-1
bee.yaml
packaging/homebrew/bee.yaml
+4
-4
No files found.
.goreleaser.yml
View file @
3ceb51de
...
@@ -122,8 +122,8 @@ brews:
...
@@ -122,8 +122,8 @@ brews:
homepage
:
https://swarm.ethereum.org/
homepage
:
https://swarm.ethereum.org/
description
:
Ethereum Swarm node
description
:
Ethereum Swarm node
caveats
:
|
caveats
:
|
Logs: #{var}/log/bee/bee.log
Logs: #{var}/log/
swarm-
bee/bee.log
Config: #{etc}/bee/bee.yaml
Config: #{etc}/
swarm-
bee/bee.yaml
Bee has SWAP enabled by default and it needs ethereum endpoint to operate.
Bee has SWAP enabled by default and it needs ethereum endpoint to operate.
It is recommended to use external signer with bee.
It is recommended to use external signer with bee.
...
@@ -133,13 +133,13 @@ brews:
...
@@ -133,13 +133,13 @@ brews:
test
:
|
test
:
|
system "#{bin}/bee version"
system "#{bin}/bee version"
install
:
|
install
:
|
(etc/"bee").mkpath
(etc/"
swarm-
bee").mkpath
(var/"lib/bee").mkpath
(var/"lib/
swarm-
bee").mkpath
bin.install ["bee", "packaging/homebrew/bee-get-addr"]
bin.install ["bee", "packaging/homebrew/bee-get-addr"]
etc.install "packaging/homebrew/bee.yaml" => "
bee/bee.yaml" unless File.exists? etc/"
bee/bee.yaml"
etc.install "packaging/homebrew/bee.yaml" => "
swarm-bee/bee.yaml" unless File.exists? etc/"swarm-
bee/bee.yaml"
post_install
:
|
post_install
:
|
system("openssl", "rand", "-base64", "32", "-out", var/"lib/bee/password")
system("openssl", "rand", "-base64", "32", "-out", var/"lib/
swarm-
bee/password")
system(bin/"bee", "init", "--config", etc/"bee/bee.yaml", ">/dev/null", "2>&1")
system(bin/"bee", "init", "--config", etc/"
swarm-
bee/bee.yaml", ">/dev/null", "2>&1")
plist
:
|
plist
:
|
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
...
@@ -154,15 +154,15 @@ brews:
...
@@ -154,15 +154,15 @@ brews:
<string>#{bin}/bee</string>
<string>#{bin}/bee</string>
<string>start</string>
<string>start</string>
<string>--config</string>
<string>--config</string>
<string>#{etc}/bee/bee.yaml</string>
<string>#{etc}/
swarm-
bee/bee.yaml</string>
</array>
</array>
<key>RunAtLoad</key>
<key>RunAtLoad</key>
<true/>
<true/>
<key>WorkingDirectory</key>
<key>WorkingDirectory</key>
<string>/usr/local</string>
<string>/usr/local</string>
<key>StandardOutPath</key>
<key>StandardOutPath</key>
<string>#{var}/log/bee/bee.log</string>
<string>#{var}/log/
swarm-
bee/bee.log</string>
<key>StandardErrorPath</key>
<key>StandardErrorPath</key>
<string>#{var}/log/bee/bee.log</string>
<string>#{var}/log/
swarm-
bee/bee.log</string>
</dict>
</dict>
</plist>
</plist>
packaging/homebrew/bee-get-addr
View file @
3ceb51de
#!/bin/sh
#!/bin/sh
RESP
=
$(
/usr/local/bin/bee init
--config
/usr/local/etc/bee/bee.yaml 2>&1
)
RESP
=
$(
/usr/local/bin/bee init
--config
/usr/local/etc/
swarm-
bee/bee.yaml 2>&1
)
case
"
$RESP
"
in
case
"
$RESP
"
in
Error
*
)
Error
*
)
echo
"
echo
"
...
...
packaging/homebrew/bee.yaml
View file @
3ceb51de
...
@@ -7,13 +7,13 @@
...
@@ -7,13 +7,13 @@
## enable clef signer
## enable clef signer
# clef-signer-enable: false
# clef-signer-enable: false
## clef signer endpoint
## clef signer endpoint
clef-signer-endpoint
:
/usr/local/var/lib/
bee
-clef/clef.ipc
clef-signer-endpoint
:
/usr/local/var/lib/
swarm
-clef/clef.ipc
## config file (default is /home/<user>/.bee.yaml)
## config file (default is /home/<user>/.bee.yaml)
config
:
/usr/local/etc/bee/bee.yaml
config
:
/usr/local/etc/
swarm-
bee/bee.yaml
## origins with CORS headers enabled
## origins with CORS headers enabled
# cors-allowed-origins: []
# cors-allowed-origins: []
## data directory (default "/home/<user>/.bee")
## data directory (default "/home/<user>/.bee")
data-dir
:
/usr/local/var/lib/bee
data-dir
:
/usr/local/var/lib/
swarm-
bee
## db capacity in chunks, multiply by 4096 to get approximate capacity in bytes
## db capacity in chunks, multiply by 4096 to get approximate capacity in bytes
# db-capacity: 5000000
# db-capacity: 5000000
## debug HTTP API listen address (default ":1635")
## debug HTTP API listen address (default ":1635")
...
@@ -37,7 +37,7 @@ data-dir: /usr/local/var/lib/bee
...
@@ -37,7 +37,7 @@ data-dir: /usr/local/var/lib/bee
## password for decrypting keys
## password for decrypting keys
# password: ""
# password: ""
## path to a file that contains password for decrypting keys
## path to a file that contains password for decrypting keys
password-file
:
/usr/local/var/lib/bee/password
password-file
:
/usr/local/var/lib/
swarm-
bee/password
## amount in BZZ below the peers payment threshold when we initiate settlement (default 10000)
## amount in BZZ below the peers payment threshold when we initiate settlement (default 10000)
# payment-early: 10000
# payment-early: 10000
## threshold in BZZ where you expect to get paid from your peers (default 100000)
## threshold in BZZ where you expect to get paid from your peers (default 100000)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment