You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-6Lines changed: 28 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
#### Running the Backend
2
+
1
3
To run app.py:
2
4
3
5
1. Create a virtual environment:
@@ -51,14 +53,34 @@ To run app.py:
51
53
52
54
5. If you are on vscode, remember to set the python interpreter to the created environment's python version.
53
55
54
-
6. After python env is ready, create the database in the root folder /backend:
56
+
6. After python env is ready, database must be created in the root folder (```/backend```):
55
57
```sh
56
58
python utilities/create.py
57
59
```
58
60
59
-
Now cd into the frontend:
60
-
1. ```cd view```
61
-
2. ```npm install```
62
-
3. Make sure the /backend is running in another terminal using: ```python app.py``` or ```flask run```
63
-
4. Run frontend: ```npm run dev```
61
+
7. Run the server (in its own terminal):
62
+
```sh
63
+
python app.py
64
+
```
65
+
66
+
#### Running the Web App (Frontend)
67
+
68
+
1. Navigate to the frontend directory (in its own terminal):
69
+
```sh
70
+
cd view
71
+
```
72
+
73
+
2. Install dependencies:
74
+
```sh
75
+
npm install
76
+
```
77
+
78
+
3. Run the development server:
79
+
```sh
80
+
npm run dev
81
+
```
82
+
83
+
#### After Sign Up and Log in
84
+
1. **Without credentials file:** Open your database application and check the `VerificationCode` table to find the code associated with the newly created account.
64
85
86
+
2. **With credentials file:** You should receive an email containing the verification code.
0 commit comments