Configure your SDK environment
3 min
See the SDK release notes sectionSDK release notes section to learn about current versions and features.
Configure Optimizely NuGet source in Visual Studio
You can find NuGet packages on https://nuget.optimizely.com, which does not require authentication.
- Go to Visual Studio > Tools > Options > NuGet Package Manager > Package Sources.
- Click Add:
- Name – Configured Commerce
- Restore packages.
Configure the local environment
Open Visual Studio and rebuild the solution.
For SQL, follow these steps:
- Create a database within sql server
- Run ./database/Insite.Commerce.StartingDatabase.sql against the database.
- (Optional) Run ./database/Insite.Commerce.SampleData.sql against the database.
- Update ./src/InsiteCommerce.Web/config/connectionStrings.config so it can connect to your new database. The build copies connectionStrings.default.config to connectionStrings.config. If you skipped step 1, you can copy the file manually.
For IIS, follow these steps:
- Add a new site to IIS, pointing to ./src/InsiteCommerce.Web.
- Configure bindings:
- For simple setups, using a non-standard port like 8080 is fine. The site can then be accessed at http://localhost:8080.
- If dealing with multiple projects, it can help to have them setup with hostnames on port 80: projectA.local.com projectB.local.com This requires entries in c:\Windows\System32\drivers\etc\hosts: 127.0.0.1 projectA.local.com 127.0.0.1 projectB.local.com
Note https is not required.
Once finished with either set of steps, log in to /admin with the following credentials: user – admin password – admin123
Use Configured Commerce
For information about using the frontend of Configured Commerce, such as the Admin Console or storefront, see the user documentationuser documentation.
Note Depending on your SDK version, you may not have access to all the features listed in the documentation.