Skip to content

riceissa/devec-demography-data-portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devec-demography-data-portal

Getting the data

The data is spread out across multiple repositories:

Setting up

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.

License

CC0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published