From 84f67a3ac14b0eae4a8b1c8e422512da7999d01f Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Tue, 22 Dec 2020 22:45:27 +0100 Subject: [PATCH] updated readme about new directory system --- readme.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 71ebeb90..a7b1a518 100644 --- a/readme.md +++ b/readme.md @@ -79,6 +79,15 @@ You will first need to edit the `root_dev/config` file to point to the modules t ... ``` +You also need to change the location of the resource and module directories, for development, I recommend: +```json +... +"modulesDirectory": "../root_dev/modules", +... +"resourcesDirectory": "../root_dev/res", +... +``` + Remember that these paths will be relative to the run directory. Off cours, remember to add entries for all modules that were built and that you wish to use. @@ -144,7 +153,12 @@ sh ./create_root.sh ## Running for development If you wish to install SDR++, skip to the next step -You will first need to edit the `root_dev/config` file to point to the modules that were built. Here us a sample if what it would look like: +First run SDR++ from the build directory to generate a default config file +``` +./sdrpp -r ../root_dev/ +``` + +Then, you need to edit the `root_dev/config` file to point to the modules that were built. Here us a sample if what it would look like: ```json ... @@ -158,6 +172,15 @@ You will first need to edit the `root_dev/config` file to point to the modules t ... ``` +You also need to change the location of the resource and module directories, for development, I recommend: +```json +... +"modulesDirectory": "../root_dev/modules", +... +"resourcesDirectory": "../root_dev/res", +... +``` + Remember that these paths will be relative to the run directory. Off cours, remember to add entries for all modules that were built and that you wish to use.