Skip to content

Commit 0667c45

Browse files
up to date (#39)
* Update to Melio style and add deployment instructions: 1. Add .gitignore into cookiecutter 2. Rearrange imports and formatted with black 3. Update Dockerfile and add docker-compose.yml for deployment 4. Add AWS lambda deployment instructions 5. Add GCP Cloud Run deployment instructions 6. Add INPUT_EXAMPLE for ml models 7. Add additional ml data preprocessing & training under ml/* 8. Add data/ folder * Add input_example_path into cookiecutter * Remove easter egg * Fix cookiecutter bug Co-authored-by: Merelda Wu <[email protected]>
1 parent a9e0f54 commit 0667c45

File tree

22 files changed

+1755
-520
lines changed

22 files changed

+1755
-520
lines changed

cookiecutter.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"project_short_description": "A short description of the project",
55
"machine_learn_model_path": "./ml/model/",
66
"machine_learn_model_name": "model.pkl",
7+
"input_example_path": "./ml/model/examples/example.json",
78
"full_name": "Your name",
89
"email": "Your address email ([email protected])",
910
"release_date": "{% now 'local' %}",
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Cookiecutter specific
2+
data/*
3+
4+
# Byte-compiled / optimized / DLL files
5+
__pycache__/
6+
*.py[cod]
7+
8+
# C extensions
9+
*.so
10+
11+
# Distribution / packaging
12+
.Python
13+
env/
14+
build/
15+
develop-eggs/
16+
dist/
17+
downloads/
18+
eggs/
19+
.eggs/
20+
lib/
21+
lib64/
22+
parts/
23+
sdist/
24+
var/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.coverage
43+
.coverage.*
44+
.cache
45+
nosetests.xml
46+
coverage.xml
47+
*.cover
48+
49+
# Translations
50+
*.mo
51+
*.pot
52+
53+
# Django stuff:
54+
*.log
55+
56+
# Sphinx documentation
57+
docs/_build/
58+
59+
# PyBuilder
60+
target/
61+
62+
# DotEnv configuration
63+
.env
64+
65+
# Database
66+
*.db
67+
*.rdb
68+
69+
# Pycharm
70+
.idea
71+
72+
# VS Code
73+
.vscode/
74+
75+
# Spyder
76+
.spyproject/
77+
78+
# Jupyter NB Checkpoints
79+
.ipynb_checkpoints/
80+
81+
# exclude data from source control by default
82+
/data/
83+
84+
# Mac OS-specific storage files
85+
.DS_Store
86+
87+
# vim
88+
*.swp
89+
*.swo
90+
91+
# Mypy cache
92+
.mypy_cache/

0 commit comments

Comments
 (0)