Skip to content

Commit 0c96037

Browse files
authored
Merge pull request #1 from eodash/cli
Eodash as a dependency
2 parents 3389cb5 + 4d3c85a commit 0c96037

18 files changed

+3559
-640
lines changed

.eslintrc.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
"extends": [
3+
"@eox",
4+
"plugin:@typescript-eslint/recommended"
5+
],
6+
"ignorePatterns": ["public/**", "app/**"],
7+
"parser": "@typescript-eslint/parser",
8+
"plugins": ["@typescript-eslint"],
9+
"root": true,
10+
"overrides": [
11+
{
12+
"files": ["**/*.js"],
13+
"rules": {
14+
"no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
15+
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
16+
"@typescript-eslint/triple-slash-reference": "off"
17+
}
18+
}
19+
]
20+
}

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
node_modules
1+
node_modules
2+
app
3+
.vscode
4+
.DS_Store

README.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,8 @@
22
This is a template repository for configuring and deploying [eodash-v5](https://github.com/EOX-A/eodash-v5)
33

44
## Prerequisites
5-
* Docker
65
* Node v18 or higher
76

8-
## Get Started
9-
1. Create your own brand repository from this template. See [creating a repository from a template](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
10-
11-
2. Install the required dependencies after cloning or downloading your repo:
12-
```bash
13-
npm run install
14-
```
15-
16-
3. Customize the configurations in `config.js`. check out the [docs](https://github.com/EOX-A/eodash-v5/blob/remodel/docs/interfaces/EodashConfig.md) to learn more.
17-
18-
4. Build the docker image:
19-
```bash
20-
docker build -t="my-brand" .
21-
```
22-
23-
5. Run the docker image:
24-
```bash
25-
docker run -p="8080:8080" my-brand
26-
```
27-
6. Once everything has started up, you should be able to access the dashboard via [http://localhost:8080/](http://localhost:8080/) on your host machine.
28-
```bash
29-
open http://localhost:8080/
30-
```
317

328
## Static Assets
339
files and directories inside the `public` directory will be served statically in the application. They can be refrenced inside the config using their relative path:

0 commit comments

Comments
 (0)