Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Yankova, Liliya (UG - Computer Science)
advanced_coursework
Commits
32cc185e
Commit
32cc185e
authored
Apr 22, 2021
by
Yankova, Liliya (UG - Computer Science)
Browse files
Merge branch 'master' of
https://gitlab.eps.surrey.ac.uk/ly00240/advanced_coursework
Merges the readme file
parents
3fc236ea
ddcfc155
Changes
1
Show whitespace changes
Inline
Side-by-side
ReadMe.txt
0 → 100644
View file @
32cc185e
Install Docker:
https://www.docker.com/products/docker-desktop
Have Docker running - either open the application or in terminal (docker start)
docker ps -> check running containers
docker ps -a -> check all containers
Go into the main folder of this project
Execute - docker-compose up -d --build (This calls the docker-compose.yaml file and starts the containers.
The build option is for the Dockerfile - it enables the mysqli extension for the database);
To check if the containers are running - docker ps
Visit -> http://localhost:8000
To stop the containers - docker-compose down
For user service database:
mysql -u root -padvancedweb -h127.0.0.1 -P9906 -> root user
mysql -u service_user -pservice_user -h127.0.0.1 -P9906 -> service_user
For recipe service database:
mysql -u root -preciperoot -h127.0.0.1 -P9907 -> root user
mysql -u recipe_user -precipe_user -h127.0.0.1 -P9907 -> recipe_user
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment