Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find file that i must edit ngsw-manifest.json #108

Open
hmartens opened this issue Jul 17, 2018 · 2 comments
Open

Can't find file that i must edit ngsw-manifest.json #108

hmartens opened this issue Jul 17, 2018 · 2 comments

Comments

@hmartens
Copy link

In the documentation it says there are 3 files I need to edit to make it point to my contenta backend. I cannot find the file 'ngsw-manifest.json"

Anyone else came across this or am I doing something wrong?

@hmartens
Copy link
Author

The documentation is great for getting the angular up and running but not to get it to see your local Contenta system.
Firstly, I cannot find the "ngsw-manifest.json"-file
Secondly, "src/environments/environment.prod.js" and "src/environments/environment.js" actually has the filetype "ts" and not "js"...and even then I do not know what to do with these files to make it use my local Contenta?

Can someone give me some pointers on how to get it to use my local Contenta and not the online Contenta server?

Thank you

@joaogarin
Copy link
Member

Hello,

The repo is a bit outdated as nobody has had to much time to work on it lately. I know that its not in angular6 and the rxjs dependencies at this point might be hard to get across. to point to your local contenta the files to change are the environments files like you said before. See https://github.com/contentacms/contenta_angular/blob/develop/src/environments/environment.ts#L8

If you would like to upgrade the repo and make a pull request with the newer version of the packages that would be great =) cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants