The data is spread out across multiple repositories:
- maddison-project-data
- penn-world-table-data
- world development indicators
- total-economy-database (this one doesn't contain the data in the repository itself)
- fred-processing
- devec_sql_common contains common functions for use when working with all datasets
If you need to pass in arguments to mysql
, use the MYSQL_ARGS
variable. For
example:
vi my.cnf # put config options in this file
make MYSQL_ARGS="--defaults-extra-file=my.cnf"
(So far the makefile doesn't do anything with MySQL so this shouldn't be necessary.)
Once the database is ready, you can run the site locally:
cp access-portal/backend/globalVariables/{dummyPasswordFile.inc,passwordFile.inc}
vi access-portal/backend/globalVariables/passwordFile.inc # change to add database login info
cd access-portal
php -S localhost:8000
Now you can visit http://localhost:8000/index.php
in your browser.
For table sorting:
make fetch_table_sorting
This will fetch the necessary files to allow tables to be sorted.
To remove these files, run make clean_table_sorting
.
For AnchorJS:
make fetch_anchorjs
To remove AnchorJS, run make clean_anchorjs
.
CC0.