Skip to content

Commit

Permalink
Add 'etp-public/' from commit '4de61bd8ccef885f7276cf7cc18ae1fd954a08e6'
Browse files Browse the repository at this point in the history
git-subtree-dir: etp-public
git-subtree-mainline: f8b2923
git-subtree-split: 4de61bd
  • Loading branch information
Juholei committed Dec 20, 2023
2 parents f8b2923 + 4de61bd commit 901c49e
Show file tree
Hide file tree
Showing 132 changed files with 33,165 additions and 0 deletions.
47 changes: 47 additions & 0 deletions etp-public/.github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.x, 20.x ]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm run check-format

format:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.x, 20.x ]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run check-format
5 changes: 5 additions & 0 deletions etp-public/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/node_modules/
/public/
/.vscode/
/.projectile
.DS_Store
1 change: 1 addition & 0 deletions etp-public/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
13 changes: 13 additions & 0 deletions etp-public/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "avoid",
"svelteSortOrder": "options-scripts-styles-markup",
"svelteAllowShorthand": true,
"bracketSameLine": true
}
4 changes: 4 additions & 0 deletions etp-public/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Licence

Licensed under the EUPL
More information about EUPL licence: [https://eupl.eu/](https://eupl.eu/)
30 changes: 30 additions & 0 deletions etp-public/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# ARA - Energiatodistusrekisteri

*Note that you will need to have [Node.js](https://nodejs.org) installed.*

## Get started

Install the dependencies...

```bash
npm install
```

You also need to start [backend](https://github.com/solita/etp-core) services found in different repository.


...then start [webpack](https://webpack.js.org)

```bash
npm run dev
```

Navigate to [localhost:5050](http://localhost:5050). You should see your app running. Edit a component file in `src`, save it, the page should reload automatically.

## Building and running in production mode

To create a production optimised version of the app:

```bash
npm run build
```
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added etp-public/assets/Tillgänglighet.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions etp-public/assets/ara_logo.svg
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 etp-public/assets/ara_logo_black.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 etp-public/assets/ara_swe_logo_black.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 etp-public/assets/energiatodistusmalli_2013.pdf
Binary file not shown.
Binary file added etp-public/assets/energiatodistusmalli_2018.pdf
Binary file not shown.
Binary file added etp-public/assets/ethaku.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 etp-public/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
323 changes: 323 additions & 0 deletions etp-public/assets/fi.json

Large diffs are not rendered by default.

Binary file added etp-public/assets/hero.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 etp-public/assets/heroblurred.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions etp-public/assets/icons/back-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions etp-public/assets/icons/back.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions etp-public/assets/icons/chat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions etp-public/assets/icons/error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions etp-public/assets/icons/error_outline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions etp-public/assets/icons/home-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions etp-public/assets/icons/home.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions etp-public/assets/icons/info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions etp-public/assets/icons/info_filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions etp-public/assets/icons/info_green.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 901c49e

Please sign in to comment.