Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tranphuquy19/farmers-hub
https://github.com/tranphuquy19/farmers-hub
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tranphuquy19/farmers-hub
- Owner: tranphuquy19
- Created: 2021-08-07T16:49:49.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-08T04:17:07.000Z (over 3 years ago)
- Last Synced: 2024-06-19T23:09:33.830Z (5 months ago)
- Language: Go
- Size: 6.81 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Farmers Hub project
## Run
```bash
docker-compose up -d
go run .
```## Build
`go build .`
## Build cross-platform
`bash ./build.sh`
```text
# platforms.txt
linux/amd64
linux/arm
darwin/amd64
darwin/arm64
windows/amd64
windows/arm
```## Hot-reload
- Requires Node.js installed
- Install nodemon: `[sudo] npm install -g nodemon`
- Start in deamon: `nodemon --watch './**/*' -e go,html --signal SIGTERM --exec 'go' run main.go`