This contains the Vemba Uploader 2.0 UI Components
AruneshPresilHarsha
Google Chrome Morzilla Firefox Apple Safari all latest.
npm install vemba-uploader-ui
Using as NPM Package
1 . Importing the Vemba Uploader Component
import VembaUploaderUI from 'vemba-uploader-ui'
2 . Render the element
ReactDOM.render(
3 . Expected props to render the component.
- partnerId : Integer (associated Partner ID) eg. '379'
- apiUrl : String Base url of Vemba Backend Service Deployment eg. (https://api-staging.vemba.io)
- apiToken : String Login Token of the Partner.
Optional (Recommended)
- isUploaderEnabled : Boolean (true/false) to enable/disable video upload functionality. Although default is readonly mode to view partner uploaded Videos.
1 . Standalone with (Hot Reload)
- Clone the repo
- CD to ``/devops``
- Run make mount``
- RUN make deploy` (Deploys to local Kubernetes Cluster)
- Goto any recommended Browser and navigate as Uploader 2 Homepage should load the home page.
`https://git-scm.com/book/en/v2/Git-Tools-Submodules`
##To include the submodule in an existing repo
1. Navigate to the src/asssets/folder and in the terminal, enter:
*`git submodule add https://bitbucket.org/vembainc/sharedassets.git`
2. This will create the empty sharedasssets folder and to import files
*`git submodule init`
then
`git submodule update``
Stay tuned. Comming shortly!!