Commit 7be2274e authored by Stavros-Anastasios Charismiadis's avatar Stavros-Anastasios Charismiadis
Browse files

minor fixes

parent f229e202
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -26,21 +26,20 @@ A Postman collection is also provided, which can be imported directly to the Pos

## Getting started
To start the service, follow the steps below
Inside the "app" folder ...

1. Copy requirements_template.txt to requirements.txt
    ```
     cp requirements_template.txt requirements.txt
     cp ./app/requirements_template.txt ./app/requirements.txt
    ```
   
2. Copy app_template.py to app.py
    ```
     cp app_template.py app.py
     cp ./app/app_template.py ./app/app.py
    ```
   
3. Copy invoker_sdk_config_template.json to invoker_sdk_config.json
    ```
     cp invoker_sdk_config_template.json invoker_sdk_config.json
     cp ./app/invoker_sdk_config_template.json ./app/invoker_sdk_config.json
    ```
   
4. Add opencapif_sdk in requirements.txt
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ def onboard():
    # with open(OBJ_FILE_INV, 'wb') as f:
    #     pickle.dump(invoker, f)

    # response_message = "Invoker onboarded with ID: {}".format(d['invoker_id'])
    # response_message = "Invoker onboarded with ID: {}".format(invoker_id)

    return response_message

+1 −1
Original line number Diff line number Diff line
@@ -32,4 +32,4 @@ echo "Stop invoker service for user: $USER_NAME"

USER_NAME=$USER_NAME docker compose down

sudo rm -R ./app/invoker_info ./app/logs ./app/discoverer.pkl
 No newline at end of file
sudo rm -R ./app/invoker_info ./app/logs ./app/discoverer.pkl ./app/invoker.pkl
 No newline at end of file