File tree Expand file tree Collapse file tree 4 files changed +29
-3
lines changed
1-dimensional-data-modeling Expand file tree Collapse file tree 4 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ This will be six weeks of curricula
22
22
- Data Quality (analytics)
23
23
- Data Quality (infrastructure)
24
24
- Data impact and visualization (analytics)
25
+ - Day 1 Lecture is [ here] ( https://www.dataexpert.io/lesson/data-visualization-and-impact-day-1-lecture-yt )
26
+ - Day 1 Lab is [ here] ( https://www.dataexpert.io/lesson/data-visualization-and-impact-day-1-lab-yt )
27
+ - Day 2 Lecture is [ here] ( https://www.dataexpert.io/lesson/data-visualization-and-impact-day-2-lecture-yt )
28
+ - Day 2 Lab is [ here] ( https://www.dataexpert.io/lesson/data-visualization-and-impact-day-2-lab-yt )
25
29
- Data pipeline maintenance (infrastructure)
26
30
- Homework is [ here] ( materials/6-data-pipeline-maintenance/homework/homework.md )
27
31
- Day 1 Lecture is [ here] ( https://www.dataexpert.io/lesson/data-pipeline-maintenance-day-1-lecture-yt )
Original file line number Diff line number Diff line change 17
17
docker rm ${DOCKER_CONTAINER} ; \
18
18
fi
19
19
20
+ .PHONY : stop
21
+ stop :
22
+ docker compose stop
23
+
24
+ .PHONY : start
25
+ start :
26
+ docker logs start
27
+
20
28
.PHONY : restart
21
29
restart :
22
30
docker compose down -v; \
Original file line number Diff line number Diff line change @@ -136,7 +136,18 @@ There are two methods to get Postgres running locally.
136
136
2. Go inside the container by executing ` docker exec -it < container_name_or_id> bash`
137
137
3. Run ` pg_restore -U $POSTGRES_USER -d $POSTGRES_DB /docker-entrypoint-initdb.d/data.dump`
138
138
139
- ---
139
+ # # **Frequently Asked Questions (FAQs)**
140
+
141
+ 1. ** Not able to connect Postgres running on Docker?**
142
+ - Please recheck details like host and port details.
143
+
144
+ 2. ** Throwing errors like connection refused even when all details are correct.**
145
+ - Please check that the port(5432 or port you use) runs only docker service, not any other services.
146
+ - Windows - use the command to check port availability in cmd ` ` ` netstat -ano | findstr :5432` ` `
147
+ - to kill rest of extra services use ` ` ` taskkill /PID < PID> /F` ` `
148
+ - Mac - use the command on terminal to check port availability ` ` ` lsof -i :5432` ` `
149
+ - to kill rest of extra services use ` ` ` kill -9 < PID> ` ` `
150
+
140
151
141
152
# ### 💡 Additional Docker Make commands
142
153
Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ You need to install the required dependencies in `requirements.txt`
6
6
7
7
Running ` pip install -r requirements.txt ` will install them.
8
8
9
- Running pytest is easy. You just need to run ` python -m pytest ` and you're good to go!
9
+ > ** _ NOTE:_ ** Make sure to have spark set locally before running below.
10
+
11
+
12
+ Running the pytest is easy. You need to run ` python -m pytest ` and you're good to go!
10
13
11
14
12
15
@@ -22,4 +25,4 @@ Or `docker compose up` if you're on Windows!
22
25
23
26
Then, you should be able to access a Jupyter notebook at ` localhost:8888 ` .
24
27
25
- The first notebook to be able to run is the ` event_data_pyspark.ipynb ` inside the ` notebooks ` folder.
28
+ The first notebook to be able to run is the ` event_data_pyspark.ipynb ` inside the ` notebooks ` folder.
You can’t perform that action at this time.
0 commit comments