fix(readme): add source .env to native instructions

This commit is contained in:
Vendicated
2024-06-23 16:14:36 +02:00
parent a22c87a082
commit f4a4a0700d
+7 -2
View File
@@ -40,9 +40,14 @@ Don't forget to direct your terminal to the Vencloud directory, e.g. via `cd Ven
#### Natively
> [!WARNING]
> At the current moment, Go 21 is not yet supported, you'll need Go 20!
> At the current moment, Go 21 is not yet supported, you'll need Go 20!
> An easy way to get Go 20 is to run `go install golang.org/dl/go1.20.0@latest` and then use the `go1.20` command instead of `go`
1. Install the [Go programming language](https://go.dev/dl/)
2. Build the code: `go build -o backend`
3. Start the server: `./backend`
3. Start the server:
```sh
source .env
./backend
```