These exercises assume that you have access to working version of the Ed-Fi / ODS v2.3 - either on a personal computer or connected to an Ed-Fi hosted Virtual Machine. The instructions are tuned to the VM-hosted case.
Obtain your Virtual Machine ID, and connect
Follow instructions at Virtual Machine Assignments
Download code
- Download the TODSLab.zip ZIP file.
- In Windows Explorer, right-click on the downloaded ZIP file and select Properties. On the General tab, press Unblock to allow the contents of the contained scripts to execute properly.
- In Windows Explorer, right-click on the downloaded ZIP file and select Extract All… Enter C:\src\TODS for the target folder.
- When the extraction is complete, there should be three folders for the ODS / API source code as shown below (under c:\src\TODS):
Initialize and run the Ed-Fi ODS/API Solution
- Open a PowerShell window (Administrator privileges), navigate to c:\src\TODS\Ed-Fi-ODS-Implementation
- Run ".\Initialize-PowershellForDevelopment"
- Run "initdev"
- Return to presentation while initdev runs!
- Verify that initdev has completed
- Start Visual Studio and open c:\src\TODS\Ed-Fi-ODS-Implementation\Application\Ed-Fi-Ods.sln
- Set Startup Projects:
- Select the Set Startup Projects… context menu by right-clicking on the solution file in the Solution Explorer.
- Within the Startup Project property page, select the Multiple startup projects radio button and enable the following projects:
- EdFi.Ods.Admin.Web
- EdFi.Ods.SwaggerUI
- EdFi.Ods.WebApi
- Select the Set Startup Projects… context menu by right-clicking on the solution file in the Solution Explorer.
- Click the OK button to accept the changes to your local development settings.
- Build and run the ODS/API (to create default sandboxes)