Skip to content

Commit 1eb5c78

Browse files
docs: fix build command
1 parent 3a7ed65 commit 1eb5c78

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@
2828
<li><a href="#download-from-releases">Download and run</a></li>
2929
</ul>
3030
<ul>
31-
<li><a href="#build-from-source">Run it in a VPS / local</a></li>
31+
<li><a href="#build-from-source">Build and run</a></li>
32+
<ul>
33+
<li><a href="#ubuntu">Ubuntu</a></li>
34+
</ul>
3235
</ul>
3336
</li>
3437
<li>
@@ -56,11 +59,16 @@
5659

5760
### Build from source
5861

62+
#### Ubuntu
63+
64+
> [!NOTE]
65+
> Make sure to install go 1.21 or above.
66+
> Refer https://stackoverflow.com/a/17566846/15807350
67+
5968
```sh
6069
git clone https://github.com/EverythingSuckz/TG-FileStreamBot -b golang
6170
cd TG-FileStreamBot
62-
go get -u
63-
go build .
71+
go build ./cmd/fsb/
6472
chmod +x fsb
6573
nano fsb.env
6674
# (add your environment variables, see the next section for more info)

0 commit comments

Comments
 (0)