Group Project for CISC 327
// cd to project directory cd CISC327-Project flake8 --select=E .
// cd to project directory cd CISC327-Project pytest -s qbnb_test
python3 -m qbnb
- Ensure docker is installed on your laptop
- pull the latest code from github (Ensure that docker-compose is in the file)
- 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
- run command “docker-compose up” to start up docker-compose which will create and start up the following containers:
qbnb-web: (web-option) Flask web application (including frontend and backend, in reality people like to further break backend into different independent services)qbnb-db: MySQL databasephpmyadmin: Web interface for MySQL These services are all defined in ourdocker-compose.ymlfile. It also defines some resources:qbnb-site: the network connects everything
- Access the following website from the ports
- qbnb-web : 127.0.0.1:8081
- qbnb-db web interface (phpadmin container) : 127.0.0.1:8082
- server: qbnb-db
- username: root
- password: root