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
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,4 +12,20 @@ cd CISC327-Project
12
12
pytest -s qbnb_test
13
13
14
14
# To run the development server:
15
-
python3 -m qbnb
15
+
python3 -m qbnb
16
+
17
+
# To run the dockerised application
18
+
1. Ensure docker is installed on your laptop
19
+
2. pull the latest code from github (Ensure that docker-compose is in the file)
20
+
3. run command “docker pull paynwahs/queens_cmpe327_project:v1” on terminal. This will pull the image docker hub onto your local machine. Run “docker image list” to ensure the image is pulled correctly
21
+
4. run command “docker-compose up” to start up docker-compose which will create and start up the following containers:
22
+
1.`qbnb-web`: (web-option) Flask web application (including frontend and backend, in reality people like to further break backend into different independent services)
23
+
2.`qbnb-db` : MySQL database
24
+
3.`phpmyadmin` : Web interface for MySQL These services are all defined in our `docker-compose.yml` file. It also defines some resources:
25
+
4.`qbnb-site` : the network connects everything
26
+
5. Access the following website from the ports
27
+
1. qbnb-web : 127.0.0.1:8081
28
+
2. qbnb-db web interface (phpadmin container) : 127.0.0.1:8082
0 commit comments