automated download of systems and stations
used to populate database if empty
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user