9 releases
0.9.8 | Jun 5, 2024 |
---|---|
0.9.7 | May 10, 2024 |
0.9.6 | Apr 26, 2024 |
0.9.3 | Mar 26, 2024 |
#307 in Build Utils
832 downloads per month
180KB
4K
SLoC
Ruxgo
Ruxgo is a companion command-line tool for RuxOS.
To start using Ruxgo, learn more at The Ruxgo Book.
Installation
Ruxgo currently requires at least Rust version 1.75. You can install it with Cargo:
cargo install ruxgo
Usage
Ruxgo supports building self-developed applications to run on linux or windows platforms, and also supports assembling and building Unikernel-based RuxOS and running applications on it. You just need to Write a config_linux.toml
for linux or config_win32.toml
for windows in the project directory.
The ruxgo/apps/
directory places all the Toml files that have been tested, you can switch to either directory and follow the instructions to build the application.
-
If you are developing your own application, you can refer to the template to write a Toml file, then put it in your project directory, and use ruxgo to build and run it.
-
If you want to build an already supported app on ruxos, you need to copy
config_<platform>.toml
fromruxgo/apps/<name>/ruxos
intoruxos/apps/c/<name>
, then refer to the instructions and use ruxgo to build and run it. -
If you have your own app executable and want to run it on RuxOS, you can refer to the template under
ruxgo/apps/loader_app
and configure your own, then use ruxgo to build and run it.
Note: Refer to the README.md in each app directory for details. The following applications are already supported:
- redis
- sqlite3
- iperf
- nginx
- loader_app
- helloworld
- memtest
- httpclient
- httpserver
- python3
Dependencies
~12–25MB
~369K SLoC