-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Automatically create a live preview for every PR #553
Comments
One possible approach:
Note that any servers being used need to be administered by the Angular team, so any community contribution here would be more about the tooling involved. |
* Currently, the demo app is mapping its core and components absolutely (`/`), which is working perfectly for the served application * This commit changes the absolute mapping paths to relative paths. This allows developers, to serve the demo-app also in sub-directories. Also this is required for some bundlers, for example SystemJS Builder is not able to build a bundle of the demo app, with absolute paths, because the baseURL may be different. References angular#553
So, I'm working on this issue. The following steps will be executed:
I've already finished this and it's working very well. I saved a lot of time, by building / enhancing the internal Angular Bot for Material 1 (in progress) Little Preview of PR #517 (automatically generated) @jelbourn If you wan't to chat about the implementation or how we should continue, let me know :) |
Here is a live preview, how it currently looks like. It has a build time of ~1-2 minutes (minus wasted time for manually executing the hook). Notice, how the bot posts the link of the automatically built preview. (Message is just temporary) |
* Currently, the demo app is mapping its core and components absolutely (`/`), which is working perfectly for the served application * This commit changes the absolute mapping paths to relative paths. This allows developers, to serve the demo-app also in sub-directories. Also this is required for some bundlers, for example SystemJS Builder is not able to build a bundle of the demo app, with absolute paths, because the baseURL may be different. References #553
@devversion wow, that was fast.
Are you just running Overall sounds great. Once you make a PR, I can spin up a new firebase instance and we can simply point the code to that. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
It might be a firebase server, or AppEngine. I would consider building a docker on Travis as a Part I and then sending that docker to a server as Part 2.
The text was updated successfully, but these errors were encountered: