@@ -62,29 +62,35 @@ Grandparent Directory: GitHub
62
62
63
63
1 . ** Clone the Repository**
64
64
``` bash
65
- git clone https://github.com/yourusername/database_principles_csc6302.git
66
- cd database_principles_csc6302
65
+ [ git clone https://github.com/yourusername/database_principles_csc6302.git](https://github.com/ajgalipeau/6302week5.git)
66
+ cd < path > \6 302week5
67
67
```
68
68
69
69
2 . ** Create a Virtual Environment**
70
70
``` bash
71
71
python3 -m venv togavenv
72
- source togavenv/bin/activate # On Windows use `togavenv\Scripts\activate`
72
+ source togavenv/bin/activate # On Windows use `<path>\ togavenv\Scripts\Activate.ps1` && ensure you give Powershell remote signing privileges
73
73
```
74
74
75
75
3 . ** Install Required Packages**
76
76
``` bash
77
77
pip install -r application/requirements.txt
78
+ # Preferred method - use the Makefile
79
+ # or go to the application folder path
80
+ make install
78
81
```
79
82
80
83
4 . ** MySQL Database Setup**
81
- - Ensure that MySQL is installed and running.
84
+ - Ensure that MySQL is installed and running either in Code,Docker, MySQL Workbench, or your db tool of choice
82
85
- Execute the SQL scripts in the ` sql/ ` directory to create tables, add procedures, and insert sample data.
83
86
84
87
``` bash
85
88
mysql -u admin_user -p < sql/ddl.sql
86
- mysql -u admin_user -p < sql/procedure_functions.sql
87
89
mysql -u admin_user -p < sql/dml.sql
90
+ mysql -u admin_user -p < sql/users.sql
91
+ mysql -u admin_user -p < sql/permissions.sql
92
+ mysql -u admin_user -p < sql/procedure_functions.sql
93
+ mysql -u admin_user -p < sql/query.sql
88
94
```
89
95
90
96
## Running the Application
0 commit comments