This project requires access to a Linux system that has Docker and a web browser installed
If you don't already have Docker installed (check by running docker -v
in your terminal) you can install the desktop client here and then verify it's installation using docker -v
.
This project relies on census data downloaded from Stats Canada. THE DATA FILES ARE LARGE AND TAKE ABOUT 15 MINUTES TO DOWNLOAD!
Census Data Link
- Click the link above
- Open
Comprehensive Download Files
- Download
Canada, provinces, territories, census divisions (CDs), census subdivisions (CSDs) and dissemination areas (DAs) - Ontario only
in thecsv
format - Extract ALL files into the project's
.local
folder - Verify the following files exist:
.local/98-401-X2021006_English_CSV_data_Ontario.csv
.local/98-401-X2021006_Geo_starting_row_Ontario.CSV
Boundary Data Link
- Click the link above
- Under
Type
selectDigital Boundary Files (DBF)
- Under
Statistical Boundaries
selectDissemination Areas
- Under
Format
selectShapefile (.shp)
- Click
Continue
- Download the document
lda_000a21a_e.zip
- Extract ALL files into the project's
.local
folder - Verify the following files exist:
.local/lda_000a21a_e.cph
.local/lda_000a21a_e.dbf
.local/lda_000a21a_e.prj
.local/lda_000a21a_e.sbn
.local/lda_000a21a_e.sbx
.local/lda_000a21a_e.shp
.local/lda_000a21a_e.shx
Once the requirements are satisfied and the data has been downloaded and extracted into the proper location - you can run the project.
# DO NOT RUN 'parser/run.sh' or 'server/run.sh'
# On first execution this will build the application - this will take a while
./run.sh
Once the script finishes open your web browser to 127.0.0.1:5000