-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #538 from COSC-499-W2023/536-update-readme-install…
…ation-and-setup-instructions-justin-edit Suggest edits to setup docs PR
- Loading branch information
Showing
5 changed files
with
16 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
# Poll Worker Setup | ||
|
||
1. Contact one of our devs to receive a link to the environment file and add it to the _workers/poll-worker_ directory: | ||
1. Make sure to replace the text highlighted in yellow inside this file with <u>your</u> AWS access key ID, AWS secret | ||
access key, and AWS session token (from the [AWS console](https://ubc-cicsso.awsapps.com/start#/)) | ||
2. Navigate to the poll worker directory and install the required dependencies using: | ||
1. Ensure that all environment files have already been added to the project. | ||
2. Make sure Docker Desktop is running | ||
3. From the root directory, start the poll worker using: | ||
```bash | ||
cd workers/poll-worker | ||
npm install | ||
``` | ||
3. Make sure Docker Desktop is running | ||
4. Navigate to the root directory and start the poll worker using: | ||
```bash | ||
cd ../.. | ||
docker-compose -f docker-compose.dev.yml up poll-worker -d | ||
``` | ||
5. Verify that the container docker-poll-worker is running in Docker Desktop | ||
4. Verify that the container _docker-poll-worker_ is running in Docker Desktop |