Frontend Setup E-locker
Last updated
Last updated
Prerequisite:
Angular 10.2.1 - find more information here
Make sure your node and npm versions are - node v16.13.1 (npm v8.1.2)
You can also manage these versions using
To set up E-locker on your local machine these steps should followed :
Use these commands to clone the repositories.
git clone
Clone repository and navigate to ui-config folder
git clone
cd
/ui-config
In this folder you will see a list of JSON files. We need to create a symbolic link of these files in the assets folder of repository
For this : copy the path of ui-config folder and navigate to assets/config folder of
Create a symbolic link
cd sunbird-rc-elocker-ui/src/assets/config/
ln -s <path_of_ui_config_from_demo_elocker>
For example:
--------------
Install dependencies and run the application using these commands
cd sunbird-rc-elocker-ui/src/
Nvm use v16.13.1
yarn
npm start
\
Copy the URL (`http://localhost:4200`) and paste it into your browser to access the Angular application.
\
> ln -s /home/user//ui-config
Navigate to the src folder of
Once the application has started successfully, you will see a message indicating that the application is running. It will also provide the URL where the application is hosted locally, typically ``.\
Refer this for proxy configuration