No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
access-portal
python
.gitignore
LICENSE
Makefile
README.md

README.md

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_tablesorter

This will fetch the necessary files to allow tables to be sorted. To remove these files, run make clean_tablesorter.

For AnchorJS:

make fetch_anchorjs

To remove AnchorJS, run make clean_anchorjs.

License

CC0.