[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT/REDIS PATCH] README.md: Update with info about building and running
Thanks a lot for the reviewing, Ștefan! I've just pushed the changes to github after I applied your feedback. Cheers, Costin On 11/18/19 10:26 AM, Stefan Teodorescu wrote: > Nit: First line (after ##Build) should say Redis, instead of Nginx. > Nit: I guess there should be a newline after ## Running modes? (I > thought I was reading it wrong :-)) > > Everything else looks great. These are also the steps I needed to get > Redis running. > > Reviewed-by: Stefan Teodorescu <stefanl.teodorescu@xxxxxxxxx> > > On Sun, Nov 17, 2019 at 2:23 PM Costin Lupu <costin.lup@xxxxxxxxx> wrote: >> >> Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx> >> --- >> README.md | 30 ++++++++++++++++++++++++++---- >> 1 file changed, 26 insertions(+), 4 deletions(-) >> >> diff --git a/README.md b/README.md >> index 6c8d79c..59cafd0 100644 >> --- a/README.md >> +++ b/README.md >> @@ -1,9 +1,31 @@ >> -Redis for Unikraft >> -============================= >> - >> +# Redis for Unikraft >> This is the port of Redis for Unikraft as external library. >> >> -TODO >> +## Build >> +Nginx depends on the following libraries, that need to >> +be added to `Makefile` in this order: >> + >> +* `pthreads`, e.g. `pthread-embedded` >> +* `libc`, e.g. `newlib` >> +* network stack, e.g. `lwip` >> + >> +Before you proceed to writing your own application, you can use the `main()` >> +function provided in the Redis glue code by enabling it in its configuration >> +menu. >> + >> +## Root filesystem >> +The steps for creating and using a filesystem are the same as the ones used >> for >> +[nginx](https://github.com/unikraft/lib-nginx/blob/staging/README.md). >> However, >> +it is not mandatory to use a configuration file because Redis has its own >> +default values. >> + >> +## Running modes We currently support the Redis server and CLI. You may >> find a >> +`main()` implementation example which shows how to call the main functions >> of >> +server and CLI. If no custom parameters are passed, then the CLI will try >> to >> +connect to the local Redis server. In order to do this you need to enable >> the >> +loopback interface (e.g. `Loopback interface` configuration option under >> `lwip` >> +menu). >> >> +## Further information >> Please refer to the `README.md` as well as the documentation in the `doc/` >> subdirectory of the main unikraft repository. >> -- >> 2.20.1 >> _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |