How to test embed changes in local machine
12 Replies
Create a temporary
index.html
file in libs/embed
directory in parallel to package.jsonWrite this code into that file
taken from here:-
https://docs.novu.co/notification-center/client/iframe
I replaced
https://embed.novu.co/embed.umd.min.js
with ./dist/embed.umd.min.js
so that it takes up local file
let me know if it worksHello @Pawan Jain I also tried doing the same, but it was not working ... I am using this command to see the changes,
npm run start:widget
is that correct ?
I also tried using npm run start
with web and widget option, and tried visiting localhost:4500 but nothing was there@Shruti, you just advanced to level 1!
nvm, I was able to figure it out! I was looking at wrong places.
Here is the PR - https://github.com/novuhq/novu/pull/4688
Thank you @Pawan Jain
Hi this is my first time running the project. Its runs on http://localhost:4200/auth/login .After this i changed the env to production under api .env .But i cannot move past this page.What am i missing?
@Emil
Can you please open a separate ticket ("Post" here on the support channel) for it?
Please make sure to include screenshots of what you see beside the console and what you're trying to do in more detail.
One on foot; I suspect you try to log in using Github Auth? If that is the case, GitHub auth doesn't work on self-hosted version, but you can log in using an email and a password.
Regardless, please open another post so we could keep the proper context 🙂
okay il do that but im trying to login with password and email (created an account on prod first)
Send a link here for the new post once your have it 🙂