Skip to content

Commit 1463c15

Browse files
authored
Merge pull request #51 from apollo13/patch-1
2 parents 662c765 + f62f3d6 commit 1463c15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apollo/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ These steps assume you are currently in the root of the cloned distro-tools repo
3939
1. Set up an alias for interfacing with the DB: `alias apollodb='psql -U postgres -W -h 127.0.0.1 apollo2development'`
4040
1. Create needed tables: `apollodb -f apollo/schema.sql`
4141
1. Update the last_indexed_at date to reduce the number of advisories you pull down from Red Hat: `apollodb -c "update red_hat_index_state set last_indexed_at = '2024-11-01';"` Note: you can change this date to whatever works for you.
42-
1. Seed the needed values in the DB: `apollodb -c "\copy codes from 'codes.csv' with DELIMITER ',';" -c "\copy supported_products from 'apollo/db_seed/supported_products.csv' with DELIMITER ',';" -c "\copy supported_products_rh_mirrors from 'apollo/db_seed/supported_products_rh_mirrors.csv' with DELIMITER ',';" -c "\copy supported_products_rpm_repomds from 'apollo/db_seed/supported_products_rpm_repomds.csv' with DELIMITER ',';"`
42+
1. Seed the needed values in the DB: `apollodb -c "\copy codes from 'apollo/db_seed/codes.csv' with DELIMITER ',';" -c "\copy supported_products from 'apollo/db_seed/supported_products.csv' with DELIMITER ',';" -c "\copy supported_products_rh_mirrors from 'apollo/db_seed/supported_products_rh_mirrors.csv' with DELIMITER ',';" -c "\copy supported_products_rpm_repomds from 'apollo/db_seed/supported_products_rpm_repomds.csv' with DELIMITER ',';"`
4343
1. Start the Apollo server (can be run in a tmux or screen session): `bazel run apollo/server:server`
4444
1. Start the Temporal server (can be run in a tmux or screen session): `temporal server start-dev`
4545
1. Start the rhworker (can be run in a tmux or screen session): `bazel run apollo/rhworker:rhworker`
@@ -56,4 +56,4 @@ To start a job to clone Red Hat security advisories over to Rocky: `temporal wor
5656
* You can redirect the logging for a worker to a file using something like: `bazel run apollo/rpmworker:rpmworker &> rpmworker.log`
5757
* While doing local development, you can eliminate the need to type in the PostgreSQL password by setting the `PGPASSWORD=postgres` environment variable and removing the `-W` flag from your alias or `psql` command.
5858
* The Apollo web UI is available on port `9999`
59-
* The Temporal web UI is available on port `8233`
59+
* The Temporal web UI is available on port `8233`

0 commit comments

Comments
 (0)