You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is where the Angular project is maintained. It was generated from Angular CLI and is generally maintained like
33
+
is where the Angular project is maintained. It was generated from Angular CLI and is maintained like
33
34
any other static web application.</li>
34
35
<br />
35
36
<li><a href="https://github.com/ImmutableWebApps/unpkg-immutable-example/tree/master"><code>master</code></a> is
@@ -38,17 +39,35 @@ is split into two critical branches:
38
39
</ul>
39
40
<h3>Project Lifecycle</h3>
40
41
<h4>Building</h4>
41
-
<p>Developing this web application is the same as any other. Features are built and tested locally, commits and
42
+
<p>Developing this web application is the same as any other Angular project. Features are built and tested locally, commits and
42
43
pull requests advance the state of the codebase. When a stable version of the app is ready to be deployed, the
43
44
assets are rendered to the <code>/dist</code> folder using <code>npm run build</code> and new version of the
44
45
project is published to npm using <code>npm publish</code>. The assets become available on <a href="https://unpkg.com/@immutablewebapps/unpkg-immutable-example@0.0.1/">UNPKG</a>.</p>
45
46
<h4>Deploying</h4>
46
-
<p>With the new version of the assets available on UNPKG, we can trigger an <i>atomic</i> deployment by
47
+
<p>With the new version of the assets available on UNPKG, an <i>atomic</i> deployment can be triggered by
47
48
switching to the <code>master</code> branch and updating <code>404.html</code> with the new references to project
48
-
assets via UNPKG as well as any related changes to environment variables. Once the commit is made, GitHub Pages
49
+
assets via UNPKG and any related changes to environment variables. Once the commit is made, GitHub Pages
49
50
deployment is triggered and the new version of the web application is available.</p>
50
-
<h4>Deploying to Another Environment</h4>
51
-
<p>Setup another <ahref="https://github.com/ImmutableWebApps/unpkg-immutable-deployment">Github Pages repository</a>,
52
-
add a <a href="https://github.com/ImmutableWebApps/unpkg-immutable-deployment/blob/master/404.html"><code>404.html</code></a>,
53
-
and <a href="https://immutablewebapps.org/unpkg-immutable-deployment/">another deployment of the app</a> is
54
-
created!</p>
51
+
<h2><i>Deployments!</i></h2>
52
+
<p>With our Immutable Web App hosted by npm/UNPKG and without any environment-specific configuration, deployments
53
+
are cheap and reliable! Let's deploy <code>index.html</code> to wherever it is easiest to setup DNS and HTTPS!</p>
54
+
<h3>Deploy to another Github Pages repository</h3>
55
+
<p><i>and let's change the version!</i></p>
56
+
<ul>
57
+
<li>Create a <a href="https://github.com/new">new Github repo</a></li>
58
+
<li><a href="https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/">Configure the
59
+
repo as a publishing source for Github Pages</a></li>
60
+
<li>Commit the <code>index.html</code> as a <a href="https://help.github.com/articles/creating-a-custom-404-page-for-your-github-pages-site/">custom
is where the Angular project is maintained. It was generated from Angular CLI and is maintained like
34
35
any other static web application.</li>
35
-
<br/>
36
-
<li><ahref="https://github.com/ImmutableWebApps/unpkg-immutable-example/tree/master"><code>master</code></a> is
36
+
<br/>
37
+
<li><ahref="https://github.com/ImmutableWebApps/unpkg-immutable-example/tree/master"><code>master</code></a> is
37
38
configured to serve the GitHub Pages site. It only contains a single file <ahref="https://github.com/ImmutableWebApps/unpkg-immutable-example/blob/master/404.html"><code>404.html</code></a>.
38
39
This single file is served for every request made to the GitHub Pages site.</li>
39
40
</ul>
40
41
<h3>Project Lifecycle</h3>
41
42
<h4>Building</h4>
42
-
<p>Developing this web application is the same as any other. Features are built and tested locally, commits and
43
-
pull requests advance the state of the codebase. When a stable version of the app is ready to be deployed, the
44
-
assets are rendered to the <code>/dist</code> folder using <code>npm run build</code> and new version of the
45
-
project is published to npm using <code>npm publish</code>. The assets become available on <ahref="https://unpkg.com/@immutablewebapps/unpkg-immutable-example@0.0.1/">UNPKG</a>.</p>
43
+
<p>Developing this web application is the same as any other Angular project. Features are built and tested locally, commits and
44
+
pull requests advance the state of the codebase. When a stable version of the app is ready to be deployed, the
45
+
assets are rendered to the <code>/dist</code> folder using <code>npm run build</code> and new version of the
46
+
project is published to npm using <code>npm publish</code>. The assets become available on <ahref="https://unpkg.com/@immutablewebapps/unpkg-immutable-example@0.0.1/">UNPKG</a>.</p>
46
47
<h4>Deploying</h4>
47
-
<p>With the new version of the assets available on UNPKG, we can trigger an <i>atomic</i> deployment by
48
-
switching to the <code>master</code> branch and updating <code>404.html</code> with the new references to project
49
-
assets via UNPKG as well as any related changes to environment variables. Once the commit is made, GitHub Pages
50
-
deployment is triggered and the new version of the web application is available.</p>
51
-
<h4>Deploying to Another Environment</h4>
52
-
<p>Setup another <ahref="https://github.com/ImmutableWebApps/unpkg-immutable-deployment">Github Pages repository</a>,
53
-
add a <ahref="https://github.com/ImmutableWebApps/unpkg-immutable-deployment/blob/master/404.html"><code>404.html</code></a>,
54
-
and <ahref="https://immutablewebapps.org/unpkg-immutable-deployment/">another deployment of the app</a> is
55
-
created!</p>
48
+
<p>With the new version of the assets available on UNPKG, an <i>atomic</i> deployment can be triggered by
49
+
switching to the <code>master</code> branch and updating <code>404.html</code> with the new references to project
50
+
assets via UNPKG and any related changes to environment variables. Once the commit is made, GitHub Pages
51
+
deployment is triggered and the new version of the web application is available.</p>
52
+
<h2><i>Deployments!</i></h2>
53
+
<p>With our Immutable Web App hosted by npm/UNPKG and without any environment-specific configuration, deployments
54
+
are cheap and reliable! Let's deploy <code>index.html</code> to wherever it is easiest to setup DNS and HTTPS!</p>
55
+
<h3>Deploy to another Github Pages repository</h3>
56
+
<p><i>and let's change the version!</i></p>
57
+
<ul>
58
+
<li>Create a <ahref="https://github.com/new">new Github repo</a></li>
59
+
<li><ahref="https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/">Configure the
60
+
repo as a publishing source for Github Pages</a></li>
61
+
<li>Commit the <code>index.html</code> as a <ahref="https://help.github.com/articles/creating-a-custom-404-page-for-your-github-pages-site/">custom
0 commit comments