Install
This article describes how to setup the Unifaun Delivery Checkout.
Pre-requisites
- Litium Acelerator MVC 7.x
Setting up dev environment
Unifaun Delivery Checkout has UI components that need to be installed into your checkout page. While you can do a direct merge of code, more clear and a practical way is as follows.
The following way is proposed due to significant changes that may be present in the UI of the checkout page.
- Install a default Litium Accelerator MVC project, without any custom modifications.
- Download the src files from Litium AddOns for the Unifaun.
- Copy over and replace the existing files, this will copy all necessary files to relevant locations.
- Add Nuget package Litium.AddOns.TransportAdministration.Abstractions to Litium.Accelerator.MVC and Litium.Accelerator
- Add the Litium.AddOns.TransportAdministration.Unifaun project into the solution, and add a reference to the Litium.Accelerator.MVC and Litium.Accelerator, to copy the dlls when compiling.
- Change the project reference Litium.Addon.TransportAdministration.Abstractions to a Nuget package reference, when compiling this package will be downloaded.
- Update Unifaun account in Litium.AddOns.TransportAdministration.Unifaun/app.config
- Build solution
- Build client script.
- From a command promt, go to the directory of Litium.Accelerator.Mvc project and execute (without qoates): "yarn run build"
- If any errors, execute “npm rebuild node-sass” and run "yarn run build" again