Commit 9ecb60895d2b31a1d4d519434a9b18f6e8fef065
1 parent
b15d55f4
Exists in
rhitier-dev
Move config name to -dist version
Showing
3 changed files
with
9 additions
and
1 deletions
Show diff stats
Dockerfile
@@ -13,6 +13,7 @@ RUN pip install --upgrade pip &&\ | @@ -13,6 +13,7 @@ RUN pip install --upgrade pip &&\ | ||
13 | 13 | ||
14 | # Build the whole stuff | 14 | # Build the whole stuff |
15 | COPY . . | 15 | COPY . . |
16 | +run cp config.yml-dist config.yml | ||
16 | 17 | ||
17 | # Allow running outside compose | 18 | # Allow running outside compose |
18 | -CMD flask --app heliopropa:application run --host=0.0.0.0 | ||
19 | \ No newline at end of file | 19 | \ No newline at end of file |
20 | +CMD flask --app heliopropa:application run --host=0.0.0.0 |
README.md
@@ -22,6 +22,13 @@ It also gathers NetCDF data from AMDA, and serves it as CSV to the plotter. | @@ -22,6 +22,13 @@ It also gathers NetCDF data from AMDA, and serves it as CSV to the plotter. | ||
22 | 22 | ||
23 | ## Develop | 23 | ## Develop |
24 | 24 | ||
25 | +### Configuration | ||
26 | + | ||
27 | +``` bash | ||
28 | +cp config.yml-dist config.yml | ||
29 | +$(EDITOR) config.yml # but defaults should be ok | ||
30 | +``` | ||
31 | + | ||
25 | ### Python venv | 32 | ### Python venv |
26 | 33 | ||
27 | ``` bash | 34 | ``` bash |
config.yml renamed to config.yml-dist