Skip to content

Commit a54f1ab

Browse files
committed
Merge branch 'dev' of https://github.com/engaging-computing/MYR into random-color
2 parents 65d2658 + 77551d7 commit a54f1ab

48 files changed

Lines changed: 35213 additions & 1229 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build MYR
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
ci-checks:
7+
runs-on: ubuntu-latest
8+
container:
9+
image: node:10.13
10+
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Setup cache
14+
uses: actions/cache@v2
15+
with:
16+
path: node_modules
17+
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
18+
- name: Fetch packages
19+
run: npm install
20+
- name: Run Linter
21+
run: npm run lint
22+
- name: Run unit tests
23+
run: npm test
24+
- name: Build production build
25+
run: npm run build

.github/workflows/deploy_beta.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy staging image
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
8+
jobs:
9+
update_upstream:
10+
runs-on: ubuntu-latest
11+
container:
12+
image: docker
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set the branch variable
16+
uses: nelonoel/branch-name@v1.0.1
17+
- name: Log into Quay
18+
run: docker login quay.io -u umlecg+myr_bot -p ${{ secrets.QUAY_BOT_PASSWORD }}
19+
- name: Build the docker image
20+
run: docker build -t quay.io/umlecg/myr-frontend:${BRANCH_NAME} --build-arg REACT_APP_GOOGLE_CLIENTID=${{ secrets.MYR_GOOGLE_OAUTH2 }} .
21+
- name: Push the new image
22+
run: docker push quay.io/umlecg/myr-frontend:${BRANCH_NAME}
23+
- name: Notify the build repository
24+
uses: peter-evans/repository-dispatch@v1
25+
with:
26+
token: ${{ secrets.MYR_ACCESS_TOKEN }}
27+
event-type: update_dev
28+
repository: engaging-computing/MYR-build

.github/workflows/deploy_prod.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy production image
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
update_upstream:
10+
runs-on: ubuntu-latest
11+
container:
12+
image: docker
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set the branch variable
16+
uses: nelonoel/branch-name@v1.0.1
17+
- name: Log into Quay
18+
run: docker login quay.io -u umlecg+myr_bot -p ${{ secrets.QUAY_BOT_PASSWORD }}
19+
- name: Build the docker image
20+
run: docker build -t quay.io/umlecg/myr-frontend:${BRANCH_NAME} --build-arg REACT_APP_GOOGLE_CLIENTID=${{ secrets.MYR_GOOGLE_OAUTH2 }} .
21+
- name: Push the new image
22+
run: docker push quay.io/umlecg/myr-frontend:${BRANCH_NAME}
23+
- name: Notify the build repository
24+
uses: peter-evans/repository-dispatch@v1
25+
with:
26+
token: ${{ secrets.MYR_ACCESS_TOKEN }}
27+
event-type: update_master
28+
repository: engaging-computing/MYR-build

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
# api keys
1515
/src/keys
1616

17-
# doc scripts
18-
GenerateDocsWindows.bat
19-
2017
# misc
2118
.DS_Store
2219
.env*

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM node:10.13
2+
3+
WORKDIR /app
4+
COPY . /app
5+
6+
ARG REACT_APP_GOOGLE_CLIENTID="totally invalid.apps.googleusercontent.com"
7+
ENV REACT_APP_GOOGLE_CLIENTID ${REACT_APP_GOOGLE_CLIENTID}
8+
9+
RUN npm install
10+
RUN npm run build
11+
RUN npm run doc

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ The Engaging Computing Group develops new technologies to enable learners—yout
99
## Status
1010
[![CircleCI](https://circleci.com/gh/engaging-computing/MYR.svg?style=shield)](https://circleci.com/gh/engaging-computing/MYR)
1111

12-
## Change Log - 2.1.1 -> 2.2.0
13-
- Adds Lighting features to MYR
14-
- Adds Texture features to MYR
15-
- Updates copyright in the footer to be in the form `2018 - <current year>`
12+
## Change Log - 2.3.1 -> 2.4.0
13+
- Added ability to import custom GLTF models into a scene
14+
- Added a keyboard shortcut information menu
15+
- Added a slider for setting the movement speed in a scene
1616

1717

1818
## Acknowledgments

docs/.gitkeep

Lines changed: 0 additions & 1 deletion
This file was deleted.

img/c.mtl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Blender MTL File: 'None'
2+
# Material Count: 1
3+
4+
newmtl None
5+
Ns 500
6+
Ka 0.8 0.8 0.8
7+
Kd 0.8 0.8 0.8
8+
Ks 0.8 0.8 0.8
9+
d 1
10+
illum 2

0 commit comments

Comments
 (0)