husseinelsaadi commited on
Commit
a3367f5
·
1 Parent(s): 9e72d2c

gitignore updated

Browse files
Files changed (2) hide show
  1. .gitignore +35 -17
  2. app.py +1 -1
.gitignore CHANGED
@@ -1,10 +1,28 @@
1
- # Python
2
  __pycache__/
3
  *.py[cod]
4
  *$py.class
5
- *.so
6
- .Python
 
 
7
  env/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  build/
9
  develop-eggs/
10
  dist/
@@ -20,22 +38,22 @@ var/
20
  .installed.cfg
21
  *.egg
22
 
23
- # Virtual Environment
24
- venv/
25
- ENV/
26
 
27
- # PyCharm
28
- .idea/
 
 
29
 
30
- # Training data & models
31
- data/raw_cvs/
32
- backend/model/*.pkl
33
 
34
- # Jupyter Notebook
35
- .ipynb_checkpoints
36
 
37
- # OS specific
38
- .DS_Store
39
- .venv.env
40
- .env
41
 
 
 
 
1
+ # Python bytecode
2
  __pycache__/
3
  *.py[cod]
4
  *$py.class
5
+
6
+ # Virtual environments
7
+ venv/
8
+ .venv/
9
  env/
10
+ ENV/
11
+ .Python
12
+
13
+ # IDEs and editors
14
+ .idea/
15
+ .vscode/
16
+
17
+ # OS files
18
+ .DS_Store
19
+ Thumbs.db
20
+
21
+ # Environment variables
22
+ .env
23
+ .venv.env
24
+
25
+ # Build artifacts
26
  build/
27
  develop-eggs/
28
  dist/
 
38
  .installed.cfg
39
  *.egg
40
 
41
+ # Jupyter
42
+ .ipynb_checkpoints
 
43
 
44
+ # Instance folder and DB
45
+ backend/instance/
46
+ *.db
47
+ *.sqlite3
48
 
49
+ # Uploads (user-submitted files)
50
+ uploads/
 
51
 
52
+ # Data (CVs, resumes, etc.)
53
+ data/resumes/
54
 
55
+ # Static assets you want to exclude (e.g., large images)
56
+ # backend/static/images/ # Uncomment if too large and unnecessary
 
 
57
 
58
+ # Logs
59
+ *.log
app.py CHANGED
@@ -28,7 +28,7 @@ from backend.models.resume_parser.resume_to_features import extract_resume_featu
28
  # Initialize Flask app
29
  app = Flask(__name__, static_folder='static', static_url_path='/static')
30
  app.config['SECRET_KEY'] = 'your-secret-key'
31
- app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///backend/instance/codingo.db'
32
  app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
33
  from flask_wtf.csrf import CSRFProtect
34
 
 
28
  # Initialize Flask app
29
  app = Flask(__name__, static_folder='static', static_url_path='/static')
30
  app.config['SECRET_KEY'] = 'your-secret-key'
31
+ app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/codingo.db'
32
  app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
33
  from flask_wtf.csrf import CSRFProtect
34