Skip to content

Commit 608f855

Browse files
committed
Resolve various issues
1 parent bcdd188 commit 608f855

File tree

4 files changed

+166
-9
lines changed

4 files changed

+166
-9
lines changed
File renamed without changes.

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,15 @@ eevveerryyddaayy/
9292
│ │
9393
│ └── app.py
9494
95+
├── settings/
96+
│ ├── start.ipynb
97+
│ └── update.ipynb
98+
9599
├── solutions/
100+
96101
├── tests/
97102
98-
├── every_entry.ipynb
99-
├── every_start.ipynb
100-
├── every_update.ipynb
103+
├── EEVVEERRYYDDAAYY.ipynb
101104
102105
├── .github
103106
├── .vscode
@@ -131,11 +134,11 @@ eevveerryyddaayy/
131134

132135
3. **Initialize project**
133136

134-
* Open `every_start.ipynb` in VS Code.
137+
* Open `settings/start.ipynb` in VS Code.
135138
* Run all cells to initialize with default settings.
136139

137140
4. **Start using**
138-
* Open `every_entry.ipynb`.
141+
* Open `EEVVEERRYYDDAAYY.ipynb`.
139142
* Run the cells to display the form interface.
140143
* Fill in your first entry and click the submit button.
141144

@@ -193,13 +196,13 @@ eevveerryyddaayy/
193196
194197
2. **Initialize project: Option 1: With Default Settings**
195198
196-
1. Open the `every_start.ipynb` notebook in the root directory.
199+
1. Open the `start.ipynb` notebook in the `settings` directory.
197200
2. Run all code cells by clicking `Run All`.
198201
3. Skip to #4.
199202
200203
3. **Initialize project: Option 2: With Custom Settings**
201204
202-
1. Open the `every_start.ipynb` notebook in the root directory.
205+
1. Open the `start.ipynb` notebook in the `settings` directory.
203206
2. Modify the code cell containing configuration settings (see #4 for details of options):
204207
205208
```python
@@ -251,7 +254,7 @@ eevveerryyddaayy/
251254
252255
1. Open the project folder on VS Code, if not already.
253256
254-
2. Open `every_entry.ipynb` in the root directory.
257+
2. Open `EEVVEERRYYDDAAYY.ipynb` in the root directory.
255258
256259
3. Execute the cell containing the python code or `Run All` to display the form interface.
257260
@@ -290,7 +293,7 @@ This application primarily runs in the user's local environment using VS Code an
290293
291294
If you need to modify your project settings after initialization:
292295
293-
* The upcoming feature will support configuration updates through `every_update.ipynb`.
296+
* The upcoming feature will support configuration updates through `update.ipynb` in the `settings` directory.
294297
* This will allow you to change project settings without starting from scratch.
295298
* Currently, some settings like Index Table structure can only be set during initialization.
296299

settings/start.ipynb

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"## Initialize Project"
8+
]
9+
},
10+
{
11+
"cell_type": "code",
12+
"execution_count": null,
13+
"metadata": {},
14+
"outputs": [],
15+
"source": [
16+
"import sys\n",
17+
"import os\n",
18+
"\n",
19+
"start_root_dir = os.path.abspath(os.path.join(os.getcwd(), '..'))\n",
20+
"sys.path.append(start_root_dir)\n",
21+
"\n",
22+
"from src import eevveerryyddaayy"
23+
]
24+
},
25+
{
26+
"cell_type": "code",
27+
"execution_count": null,
28+
"metadata": {},
29+
"outputs": [],
30+
"source": [
31+
"# Project: Title\n",
32+
"PROJ_TITLE='[ ] Everyday'\n",
33+
"\n",
34+
"# Index Table: Extra Column\n",
35+
"NB=0\n",
36+
"NB_NAME='NB'\n",
37+
"\n",
38+
"# Index Table: Sequential Numbering\n",
39+
"SEQ_NOTATION=0\n",
40+
"\n",
41+
"# Index Table: Sequential Gaps\n",
42+
"SEQ_SPARSE=0\n",
43+
"\n",
44+
"# Form: Site Options\n",
45+
"SITE_OPTIONS=['Codewars', 'DataLemur', 'LeetCode']"
46+
]
47+
},
48+
{
49+
"cell_type": "code",
50+
"execution_count": null,
51+
"metadata": {},
52+
"outputs": [],
53+
"source": [
54+
"eevveerryyddaayy(PROJ_TITLE, NB, NB_NAME, SEQ_NOTATION, SEQ_SPARSE, SITE_OPTIONS, source=0)"
55+
]
56+
}
57+
],
58+
"metadata": {
59+
"kernelspec": {
60+
"display_name": "venv",
61+
"language": "python",
62+
"name": "python3"
63+
},
64+
"language_info": {
65+
"codemirror_mode": {
66+
"name": "ipython",
67+
"version": 3
68+
},
69+
"file_extension": ".py",
70+
"mimetype": "text/x-python",
71+
"name": "python",
72+
"nbconvert_exporter": "python",
73+
"pygments_lexer": "ipython3",
74+
"version": "3.12.1"
75+
}
76+
},
77+
"nbformat": 4,
78+
"nbformat_minor": 2
79+
}

settings/update.ipynb

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"## Update Project\n",
8+
"\n",
9+
"[Not yet implemented]"
10+
]
11+
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": null,
15+
"metadata": {},
16+
"outputs": [],
17+
"source": [
18+
"from src import eevveerryyddaayy"
19+
]
20+
},
21+
{
22+
"cell_type": "code",
23+
"execution_count": null,
24+
"metadata": {},
25+
"outputs": [],
26+
"source": [
27+
"# Project: Title\n",
28+
"PROJ_TITLE='[ ] Everyday'\n",
29+
"\n",
30+
"# Index Table: Extra Column\n",
31+
"NB=0\n",
32+
"NB_NAME='NB'\n",
33+
"\n",
34+
"# Index Table: Sequential Numbering\n",
35+
"SEQ_NOTATION=0\n",
36+
"\n",
37+
"# Index Table: Sequential Gaps\n",
38+
"SEQ_SPARSE=0\n",
39+
"\n",
40+
"# Form: Site Options\n",
41+
"SITE_OPTIONS=['Codewars', 'DataLemur', 'LeetCode']"
42+
]
43+
},
44+
{
45+
"cell_type": "code",
46+
"execution_count": null,
47+
"metadata": {},
48+
"outputs": [],
49+
"source": [
50+
"# eevveerryyddaayy(PROJ_TITLE, NB, NB_NAME, SEQ_NOTATION, SEQ_SPARSE, SITE_OPTIONS, source=1)"
51+
]
52+
}
53+
],
54+
"metadata": {
55+
"kernelspec": {
56+
"display_name": "venv",
57+
"language": "python",
58+
"name": "python3"
59+
},
60+
"language_info": {
61+
"codemirror_mode": {
62+
"name": "ipython",
63+
"version": 3
64+
},
65+
"file_extension": ".py",
66+
"mimetype": "text/x-python",
67+
"name": "python",
68+
"nbconvert_exporter": "python",
69+
"pygments_lexer": "ipython3",
70+
"version": "3.12.1"
71+
}
72+
},
73+
"nbformat": 4,
74+
"nbformat_minor": 2
75+
}

0 commit comments

Comments
 (0)