Skip to content

Commit

Permalink
Feature/update frontend (#45)
Browse files Browse the repository at this point in the history
* Fix

* Fix

* Fix packages

* Move public dir

* Move functionality

* Fix material ui imports

* Add tests

* Fix tests

* Fix outcomes tests

* Fix it

* Update frontend
  • Loading branch information
framebassman authored Sep 1, 2022
1 parent dfd44fa commit 42f13bf
Show file tree
Hide file tree
Showing 19 changed files with 26,813 additions and 12,747 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Sentry Release
uses: getsentry/action-release@v1.0.0
uses: getsentry/action-release@v1.2.0
with:
finalize: false
version: ${{ env.VERSION }}
Expand All @@ -37,6 +37,8 @@ jobs:
with:
context: .
push: true
build-args: |
SENTRY_RELEASE_BUILDTIME=${{ env.VERSION }}
tags: framebassman/izzy:${{ env.VERSION }}

- uses: avakar/tag-and-release@v1
Expand All @@ -47,7 +49,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Sentry Release
uses: getsentry/action-release@v1.0.0
uses: getsentry/action-release@v1.2.0
with:
finalize: true
version: ${{ env.VERSION }}
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ RUN dotnet publish -c Release -o out
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1.3-alpine3.11
WORKDIR /app
COPY --from=build-env /app/out .

ARG SENTRY_RELEASE_BUILDTIME=0.1.0
ENV SENTRY_RELEASE=$SENTRY_RELEASE_BUILDTIME

ENTRYPOINT dotnet Izzy.Web.dll
3 changes: 0 additions & 3 deletions Izzy.Web/Client/.gitignore
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# IDE files
.idea/*
16 changes: 9 additions & 7 deletions Izzy.Web/Client/README.md
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app), using the [Redux](https://redux.js.org/) and [Redux Toolkit](https://redux-toolkit.js.org/) TS template.

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.<br>
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br>
The page will reload if you make edits.\
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.<br>
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.<br>
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br>
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
Expand All @@ -33,7 +35,7 @@ See the section about [deployment](https://facebook.github.io/create-react-app/d

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Expand Down
Loading

0 comments on commit 42f13bf

Please sign in to comment.