-
Notifications
You must be signed in to change notification settings - Fork 11
Running the tutorials
Rizwan Saeed edited this page Dec 16, 2019
·
2 revisions
We have provided a set of examples within the repository that demonstrate how to call the LUSID API. The full tutorial series can be found at https://www.lusid.com/app/resources/tutorials.
The tutorials can be run as tests from within the sdk
folder. First set up your API credentials (if using a secrets.json
file place this in the sdk
folder) and then run the tests using the following command:
$ dotnet test -v n
The tutorials can also be run using docker
. Build and run the container using docker-compose
$ docker-compose up --build && docker-compose rm -f
Alernatively run using docker
commands
Build the container
$ docker build -t finbourne/lusid-sdk-csharp-test .
Run the tests
$ docker run --rm -it --name lusid-sdk-csharp-test -v `pwd`:/usr/src finbourne/lusid-sdk-csharp-test