You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
2.5 KiB

  1. # For God so loved the world, that He gave His only begotten Son, that all who believe in Him should not perish but have everlasting life
  2. # rs_machine_input_chirho
  3. A command-line application designed to synchronize computer resource information with a remote database.
  4. ## Features
  5. - Collects system information from Linux, Windows, and macOS machines
  6. - Sends data to a remote server using a REST API
  7. - Stores information in a SQLite database
  8. ## Installation
  9. To install `rs_machine_input_chirho`, you need to have Rust and Cargo installed on your system. Then, you can install it using:
  10. ```bash
  11. cargo install rs_machine_input_chirho
  12. ```
  13. ## Usage
  14. 1. Set up the server-side database:
  15. ```bash
  16. sql_chirho/createdb_chirho.sh
  17. ```
  18. 2. Configure environment variables:
  19. - Copy `dot.env_chirho.sample_chirho` to `.env_chirho` on both client and server
  20. - Edit the `.env_chirho` file to set the appropriate values
  21. 3. if desired to change from the default 8870 set the server port:
  22. ```bash
  23. export ROCKET_PORT=<your_desired_port>
  24. ```
  25. 4. Run the application as a server:
  26. ```bash
  27. rs_machine_input_chirho
  28. ```
  29. or run as a client providing the destination server url
  30. ```bash
  31. rs_machine_input_chirho --cli-url-chirho <server_url>
  32. ```
  33. ## Development
  34. To contribute to this project:
  35. 1. Clone the repository
  36. 2. Install dependencies: `cargo build`
  37. 3. Run tests: `cargo test`
  38. 4. Submit a pull request with your changes
  39. ## Development Configuration
  40. The application uses a `rocket.toml` file for server configuration. You can modify this file to change server settings like address, port, and database URL.
  41. ## License
  42. This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
  43. ## Contact
  44. For any questions or issues, please open an issue on the GitHub repository.
  45. ## A Message of Hope, The Gospel
  46. At the heart of the Christian faith lies a message of hope and love: God, in His infinite love,
  47. sent His Son Jesus Christ to bridge the gap between humanity and Himself.
  48. Through Jesus' life, death on the cross, and resurrection, He offers forgiveness of
  49. sins and eternal life to all who believe in Him. This gift of salvation is freely available
  50. to everyone who puts their trust in Jesus, regardless of their past or present circumstances.
  51. As John 3:16 beautifully states, "For God so loved the world, that He gave His only begotten Son,
  52. that whoever believes in Him shall not perish, but have eternal life." He is alive and still does
  53. miracles and hasn't changed. If you seek Him, you will find Him. He is a prayer away.