Commit Graph

22 Commits (a8b1da4b7c97bbda2b43ae735076baa866c4c563)

Author SHA1 Message Date
Malachi Soord 8be566afb9
Fix up install 2023-11-19 21:46:11 +01:00
Malachi Soord 9c2a0dbefe
Tidy repo (#30)
* Tidy repo

* Tidy

* Fix up

* Setup default target
2023-11-19 21:33:18 +01:00
= db56530311 Don't fail install if service cannot be stopped (does not exist yet) 2023-11-05 12:19:09 +01:00
= 319acbd0e1 Add explicit support for prod amd64 build in Makefile 2023-11-05 11:47:42 +01:00
Paulo Truta 445bc41d0e Fixes to install make command, fixes to local network app url definition, run ws build on start and every 24 hours 2023-10-28 18:43:18 +02:00
= 8bf26a334c Added system.CopyDir and EdgeappsBackupPath conf 2023-06-10 17:29:54 +02:00
Paulo Truta a66ff40e65 Backups feature 2023-05-29 21:52:27 +02:00
Paulo Truta f7823b9e20 Added make build-<arch> commands 2023-04-17 20:28:06 +02:00
Paulo Truta ece500c342
Cloudflare Tunnel Support (#29)
* Adding necessary changes for tunnel setup supporting cloudflared

* Applied shwrap pattern to login, create and delete tunnel actions, many fixes

* Refactoring sesh 1

* Added utils, remaining tunnel tasks, cleanup
2023-03-20 00:54:42 +01:00
Paulo Truta 161ec76eb9
Add service file and install command (#27)
* Added systemd service file

* Added make install command (copies binary to local bin and adds service file

* Makefile has intall-prod and install-cloud commands
2023-03-11 13:58:54 +01:00
Paulo Truta 83d2fdcae1
[WIP] Support for cloud version (#17)
* Added build-cloud to Makefile

* Fix env var key GOOS

* Added taskSetReleaseVersion for edgeboxctl version option write into DB

* taskGetSystemUptime to run every 5 ticks

* Added support for detecting main disk in cloud version

* Added missing import

* Finding main device in test

* Refactored GetDevices and test to use release_version

* Added utils.getIP function, set to run as a 60 tick scheduled task

* Added taskEnablePublicDashboard and taskDisablePublicDashboard

* Added utils.WriteOption and refactor, added enablePublicDashb0oard

* Finalizing online support for dashboard, cloud version support

* Added task SetupCloudOptions

* Added couple of func description comments

* Early return statement (thanks @inverse)

* Using IsPublicDashboard in DisablePublicDashboard func

* Added constants for release version and device types, added diagnostics.GetReleaseVersion

* Removed codecov from test action
2022-02-06 15:37:50 +01:00
Malachi Soord 92ac9c2b03
Add coverage (#15)
* Add coverage

* Add codecov.yml
2021-06-08 22:40:53 +02:00
Malachi Soord e611bf2ac4
Add test foundations (#14) 2021-06-08 14:13:22 +02:00
Paulo Truta cb3ecec5f4 Fix to makefile build-prod 2021-03-04 14:06:48 +00:00
Paulo Truta 812cf31dc4 More changes. Fix build 2021-03-04 12:48:25 +00:00
Paulo Truta 0ed5297f6d Renaming everything to edgeboxctl 2021-03-04 12:43:49 +00:00
Paulo Truta 2d5cc88fa9 Merge branch 'make' of https://github.com/edgebox-iot/sysctl into make 2021-02-12 18:35:44 +01:00
Paulo Truta ba1fe45c1b Added arm build to build-all Makefile command 2021-02-12 17:22:03 +00:00
Paulo Truta b689115105 Using Makefile in Dockerfile 2021-02-12 01:23:16 +01:00
Malachi Soord 81052a37c4
Remove dist 2021-02-11 21:45:08 +01:00
Malachi Soord 9ec7cfd80d
Move main.go 2021-02-11 21:33:05 +01:00
Malachi Soord b30453cc09
Add basic Makefile 2021-02-11 21:21:22 +01:00