Skip to content

Commit a264e96

Browse files
committed
created scripts directory
1 parent 202b8b8 commit a264e96

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

.github/workflows/functional_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
fi
9898
9999
- name: Reset database
100-
run: docker compose run scraper sh -c 'apk add postgresql-client && ./reset_db.bash;'
100+
run: docker compose run scraper sh -c 'apk add postgresql-client && ./scripts/reset_db.sh;'
101101

102102
- name: Run scraper again (to test cache)
103103
run: docker compose run scraper python3 src/main.py --db --all-colleges --ratings

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ python src/main.py --db
9292
This will create a new database `schedulerdb` and the necessary tables if they aren't already created, and then insert the data into the database. If the data is already populated, it will update the existing data. To delete all the data, make sure the environment variables specified in `src/db_config.py` are set and then run the following command (make sure you're using the Git Bash terminal if you're using Windows):
9393

9494
```bash
95-
./reset_db.bash
95+
./scripts/reset_db.sh
9696
```
9797

9898
To view the schema for the tables, you can look at the `src/create_tables.sql` file.

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ services:
6666
- EDGE_PORT=4566
6767
volumes:
6868
- "/var/run/docker.sock:/var/run/docker.sock"
69-
- "./sns-init-scripts/create-sns-topic.sh:/etc/localstack/init/ready.d/init-aws.sh"
69+
- "./scripts/create-sns-topic.sh:/etc/localstack/init/ready.d/init-aws.sh"
File renamed without changes.

0 commit comments

Comments
 (0)