xAmplify PRM UI is an Angular application built for managing partners, content, and opportunities in the xAmplify ecosystem.
Follow these steps to set up the project locally.
- Node.js: version
10.18.0node -v
- Angular CLI: version
1.4.2
Install globally:Verify installation:npm install -g @angular/cli@1.4.2
ng --version
git clone https://github.com/xamplify/xAmplify-PRM-UI.git
cd xAmplify-PRM-UInpm installnpm startThe app will start on http://localhost:4200.
It automatically reloads on source file changes.
npm run prodThe build artifacts will be stored in the xtremandApp/ directory.
If you’re running locally, you can create an account here:
http://localhost:4200/prm-signup
Update the env.js file with your deployment values:
/********************* Production **********************/
window.__env.CLIENT_URL = '"https://app.myapp.com/';
window.__env.SERVER_URL = 'https://api.myapp.com/';
window.__env.imagesHost = window.__env.SERVER_URL + "vod/images/";Once deployed, use this link to sign up and create your Admin PRM Account:
http://app.myapp.com/prm-signup
Once the admin PRM account is created, you can:
- Add partners
- Manage content
- Track opportunities
- And more…
- Ensure you’re using the specified Node.js and Angular CLI versions for compatibility.
- For custom hosting, always configure your
env.jsproperly before deployment.