Skip to content
This repository was archived by the owner on Jan 17, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Static Demo Site

# Controls when the action will run. Triggers the workflow on push
on:
push:
branches:
- 'scale-7'
pull_request:
branches:
- 'scale-7'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: tibor19/static-website-deploy@v1
with:
enabled-static-website: 'true'
blob-container-name: '$web'
folder: '.'
connection-string: ${{ secrets.CONNECTION_STRING }}
remove-existing-files: 'false'
24 changes: 24 additions & 0 deletions demos/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Ohio Demo Site

This site is used to display demo's of AIS developed software for clients, job fairs, etc.

## Demos

The Current Demos included are

* Eris
* Scale 5
* Scale 7
* Sigma
* Flock

The Scale 7 Demo uses a mock API which can be found [here](https://scale-7-demo-api.azurewebsites.net/).

## Azure Setup

To make changes to the [existing Azure Demo Site](https://demositestatic.z13.web.core.windows.net/demos) all that is required is a successful pull request to the **scale-7** branch. A Github action will update the site automatically.

To create the site, first a storage account in Azure must be made. After the Storage Account is made, go to Static Website and enable it. A blob named `$web` will be created. At this point there are a couple options.

The first is to use the Azure Storage Explorer and simply dump the repository into the static site blob. Another option is to use Github Actions to upload the reposiory. The benefit of this approach being continuous deployment. [This Page](https://github.com/tibor19/static-website-deploy) to activate it, push to the Github repository.

Binary file added demos/assets/AIS-Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demos/assets/AIS-Mark-White-Orange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demos/assets/AIS-Mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demos/assets/marketing-screenshot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demos/assets/scale-7-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions demos/eris/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<html ng-strict-di>
<head>
<title ng-bind="pageTitle">Eris</title>
<base href="/">
<base href="/demos/eris/">

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
Expand All @@ -17,17 +17,17 @@
<meta name="format-detection" content="telephone=no"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link rel="stylesheet" href="/demos/eris/stylesheets/vendor.css">
<link rel="stylesheet" href="/demos/eris/stylesheets/app.css">
<link rel="stylesheet" href="./stylesheets/vendor.css">
<link rel="stylesheet" href="./stylesheets/app.css">
</head>
<body ng-app="eris">
<div>
<eris-alert></eris-alert>
<ng-view></ng-view>
</div>

<script type="text/javascript" src="/demos/eris/scripts/vendor.js"></script>
<script type="text/javascript" src="/demos/eris/scripts/app.js"></script>
<script type="text/javascript" src="/demos/eris/scripts/erisConfig.local.js"></script>
<script type="text/javascript" src="./scripts/vendor.js"></script>
<script type="text/javascript" src="./scripts/app.js"></script>
<script type="text/javascript" src="./scripts/erisConfig.local.js"></script>
</body>
</html>
Loading