automated download of systems and stations

used to populate database if empty
This commit is contained in:
2021-05-07 21:21:57 +00:00
parent e1ad9f0acf
commit f5c79ed5f2
11 changed files with 317 additions and 18 deletions
+2 -12
View File
@@ -13,21 +13,11 @@ Its goal should be to know where you are ...
### Running
1. download https://eddb.io/archive/v6/systems_populated.jsonl to `/home/vscode/systems_populated.jsonl`
```shell
# wget --compression=gzip -O /home/vscode/systems_populated.jsonl https://eddb.io/archive/v6/systems_populated.jsonl
```
2. download https://eddb.io/archive/v6/stations.jsonl to `/home/vscode/stations.jsonl`
```shell
# wget --compression=gzip -O /home/vscode/stations.jsonl https://eddb.io/archive/v6/stations.jsonl
```
3. run backend server
1. run backend server
```shell
# ./mvnw spring-boot:run
```
4. run frontend server
2. run frontend server
```shell
```