Skip to content

Commit

Permalink
Merge pull request #6 from skyu-io/feat/hw/webapp-docs
Browse files Browse the repository at this point in the history
Feature :;  Web App Docs & Images Masked
  • Loading branch information
iwiick-insighture authored Apr 4, 2024
2 parents 7a02f48 + 6e9ee3e commit ac5c38c
Show file tree
Hide file tree
Showing 16 changed files with 101 additions and 31 deletions.
73 changes: 73 additions & 0 deletions docs/Tutorials/applications/web-application-on-aws-cloudfront.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
---
title: Web Application on AWS Cloudfront
---

# Getting Started

This application type will Host a Static web application on AWS cloudfront for each environment configured. Distributions created from the application can be viewed from the SkyU console once they are available.

## 01 - Enable Web Apps

Web apps needs to be enabled per Project. This application type is not enabled by default and you will see a banner saying `Enable Web Applications on AWS Cloudfront` if the feature is not yet enabled in the project.

![](/assets/images/tutorials/app-creation/web-application-on-aws-cloudfront/enable-webapps.png)

This features can be enabled in project settings as well.

![](/assets/images/tutorials/app-creation/web-application-on-aws-cloudfront/enable-webapps-in-settings.png)

## 02 - Select Application

Select `Web Application on AWS Cloudfront` application type from the catalogue.

![](/assets/images/tutorials/app-creation/web-application-on-aws-cloudfront/select-webapps.png)

## 03 - Fill General Details

![](/assets/images/tutorials/app-creation/web-application-on-aws-cloudfront/step1-general-details.png)

## 04 - Link Application Repository

![](/assets/images/tutorials/app-creation/web-application-on-aws-cloudfront/step2-link-repo.png)

## 05 - Configure Pipeline Triggers

You can configure the triggers per environment in this step defining the `branches/tags/schedules` in which the workflows are going to be Triggered. These will be prefilled with the standard conventions which you can override.

![](/assets/images/tutorials/app-creation/web-application-on-aws-cloudfront/step3-add-triggers.png)

## 06 - Configure the build Pipeline

You can use this step to configure the build pipeline. certain options can be changed later on as well.

- **`Default Root Object`** - This would be the default `html` file in the build folder. In most cases this would be the `index.html`file
- **`Host`** - Currently only `Cloudfront` is supported.
- **`Build Environment`** - Currently only `Node` is supported.
- **`Build Environment Version`** - Default value is `latest`, you can provide a specific version as well.
- **`Dependency Manager`** - Supports `NPM`, `PNPM` and `YARN`.
- **`Dependency Manager Version`** - Default value is `latest`, you can provide a specific version as well.
- **`Install Dependencies Command`** - Eg: `npm i` or `pnpm i`.
- **`Build Command`** - This should be the build command as you have configured. Eg: `npm run build`.
- **`Build Folder`** - Specify the build folder here. This is typically either `build` or `dist`.

![](/assets/images/tutorials/app-creation/web-application-on-aws-cloudfront/step4-configure-build-pipeline.png)

## 07 - Add Environment Variables

Add your application Environment Variables in this step. You can add or update these after creation as well. Finally Create the Application.

![](/assets/images/tutorials/app-creation/web-application-on-aws-cloudfront/step5-add-env-vars.png)

## 08 - View Application.

A new web app application will now be listed under your project applications.

![](/assets/images/tutorials/app-creation/web-application-on-aws-cloudfront/created-webapp.png)

![](/assets/images/tutorials/app-creation/web-application-on-aws-cloudfront/webapp-overview.png)

## 09 - Build Variables.

`Build Variables` tab under `workflows` aside menu can be used to update/add/remove Environment Variables as well as to change the build configurations per environment.

![](/assets/images/tutorials/app-creation/web-application-on-aws-cloudfront/build-variables.png)
59 changes: 28 additions & 31 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ theme:
name: material
features:
- navigation.tabs
- navigation.tabs.sticky
- navigation.tabs.sticky
- navigation.sections
- navigation.instant
- navigation.expand
Expand All @@ -21,41 +21,38 @@ theme:
# - toc.integrate
- navigation.top
- search.suggest
- search.highlight
# - tabs
# - instant
- search.highlight
# - tabs
# - instant
- meta


include_sidebar: true
language: en
custom_dir: overrides
logo: assets/images/logo.svg
favicon: assets/images/favicon.ico
palette:
include_sidebar: true
language: en
custom_dir: overrides
logo: assets/images/logo.svg
favicon: assets/images/favicon.ico
palette:
- scheme: skyu
primary: blue
accent: light-blue
# toggle:
# icon: menu
# name: Menu


# name: Menu

extra_css:
- assets/stylesheets/overrides.css
plugins:
- assets/stylesheets/overrides.css
plugins:
- search
- awesome-pages
- awesome-pages

markdown_extensions:
- smarty
- toc:
permalink: true
- smarty
- toc:
permalink: true
- pymdownx.tabbed
- pymdownx.superfences
- pymdownx.superfences
- admonition
- pymdownx.details
- pymdownx.details
- attr_list
- meta
# - pymdownx.emoji:
Expand All @@ -70,20 +67,20 @@ nav:
- Connect a Kubernetes Cluster: "connect-cluster.md"
- Deploy your first Application: "deploy-application.md"
- Concepts:
- Concepts/index.md
- Concepts/index.md
- Concepts/resource-heirachy.md
- Concepts/secret-management.md
- Concepts/iam.md
- Concepts/releases.md
- Concepts/gitops.md
- Concepts/workflows.md
- Tutorials:
- Concepts/workflows.md
- Tutorials:
- Tutorials/index.md
- Create Application:
- Tutorials/applications/source-code-kubernetes-deployment.md
- Tutorials/applications/docker-compose-jobs-on-ec2.md
- API:
- Tutorials/applications/source-code-kubernetes-deployment.md
- Tutorials/applications/docker-compose-jobs-on-ec2.md
- Tutorials/applications/web-application-on-aws-cloudfront.md
- API:
- API/index.md
- FAQ:
- FAQ/index.md

- FAQ:
- FAQ/index.md
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ac5c38c

Please sign in to comment.