Skip to content

Commit

Permalink
add backup dir param
Browse files Browse the repository at this point in the history
  • Loading branch information
nmdefries committed Oct 10, 2024
1 parent 3c22ff1 commit 02845f1
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 0 deletions.
1 change: 1 addition & 0 deletions ansible/templates/nchs_mortality-params-prod.json.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"common": {
"daily_export_dir": "./daily_receiving",
"backup_dir": "./raw_data_backups",
"log_filename": "/var/log/indicators/nchs_mortality.log",
"weekly_export_dir": "/common/covidcast/receiving/nchs-mortality"
},
Expand Down
1 change: 1 addition & 0 deletions nchs_mortality/params.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"common": {
"daily_export_dir": "./daily_receiving",
"weekly_export_dir": "./receiving",
"backup_dir": "./raw_data_backups",
"log_filename": "/var/log/indicators/nchs_mortality.log",
"log_exceptions": false
},
Expand Down
120 changes: 120 additions & 0 deletions nchs_mortality/raw_data_backups/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# You should hard commit a prototype for this file, but we
# want to avoid accidental adding of API tokens and other
# private data parameters
params.json

# Do not commit output files
receiving/*.csv

# Remove macOS files
.DS_Store

# virtual environment
dview/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
coverage.xml
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
.static_storage/
.media/
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

0 comments on commit 02845f1

Please sign in to comment.