Fixed readme lol
This commit is contained in:
@@ -20,7 +20,7 @@ A simple clipboard synchronization tool built with Go. It consists of a server a
|
|||||||
2.1 Server Configuration:
|
2.1 Server Configuration:
|
||||||
- Navigate to the `server` directory.
|
- Navigate to the `server` directory.
|
||||||
- Make a new file called `config.go` and paste/modify the following code:
|
- Make a new file called `config.go` and paste/modify the following code:
|
||||||
```go
|
```go
|
||||||
package main
|
package main
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -28,12 +28,12 @@ const (
|
|||||||
EmbeddedServerIP = "0.0.0.0"
|
EmbeddedServerIP = "0.0.0.0"
|
||||||
EmbeddedServerPort = "8080"
|
EmbeddedServerPort = "8080"
|
||||||
)
|
)
|
||||||
|
```
|
||||||
|
|
||||||
```
|
|
||||||
2.2 Client Configuration:
|
2.2 Client Configuration:
|
||||||
- Navigate to the `client` directory.
|
- Navigate to the `client` directory.
|
||||||
- Make a new file called `config.go` and paste/modify the following code:
|
- Make a new file called `config.go` and paste/modify the following code:
|
||||||
```go
|
```go
|
||||||
package main
|
package main
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -42,7 +42,7 @@ const (
|
|||||||
EmbeddedServerIP = "100.107.73.38"
|
EmbeddedServerIP = "100.107.73.38"
|
||||||
EmbeddedServerPort = "8080"
|
EmbeddedServerPort = "8080"
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
3. Build the programs.
|
3. Build the programs.
|
||||||
- Run the `build.bat` script in the root directory to build both the server and client applications.
|
- Run the `build.bat` script in the root directory to build both the server and client applications.
|
||||||
|
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ go 1.25.5
|
|||||||
|
|
||||||
require github.com/gorilla/websocket v1.5.3
|
require github.com/gorilla/websocket v1.5.3
|
||||||
|
|
||||||
require github.com/joho/godotenv v1.5.1 // indirect
|
require github.com/joho/godotenv v1.5.1 // indirect
|
||||||
Reference in New Issue
Block a user