Skip to content

Commit cd80e8c

Browse files
committed
Add README.md for Assignment 4
1 parent f2fdcea commit cd80e8c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Assignment 4
2+
Requirements:
3+
- Docker
4+
5+
Steps:
6+
1. Open up your Terminal or command line
7+
2. Navigate to the project's base directory, where the docker-compose.yml is
8+
3. Run `docker-compose up --build`
9+
4. Wait for the containers to finish building and run
10+
5. Open up your Docker dashboard, the new images and containers should be visible:
11+
1. frontend
12+
2. api-gateway
13+
3. question-service
14+
4. user-service
15+
5. auth-service
16+
6. Open your browser and go to the address `http://localhost:3000/`
17+
7. Login into the website using our admin account
18+
8. Feel free to test our Questions and User service features. For example:
19+
1. Managing Questions
20+
1. Click on the 'Manage Questions' button in the NavBar above
21+
2. Click on 'Add Question' button
22+
3. Type in a dummy question and click 'Submit'
23+
4. Go back to the home page to and check that the new question is in the question table
24+
5. Check the Terminal/command line/Logs in the question-service container in Docker dashboard to view the message logs
25+
2. Managing User Profile
26+
1. Click on the top right profile button
27+
2. Select 'Profile'
28+
3. Click on 'Edit Profile' button
29+
4. Change any profile details, then click on 'Save'
30+
5. Check the Terminal/command line/Logs in the user-service container in Docker dashboard to view the message logs

0 commit comments

Comments
 (0)