-
Clone the repository:
git clone https://github.com/unhcr-jordan/piati.git
-
Change into the directory and create a
virtualenv
with python3.3:cd piati virtualenv -p python3.3 ./pyenv source ./pyenv/bin/activate
-
Install requirements:
pip install -r requirements.txt
-
Fetch the data:
python run.py fetch
-
Run the server to check you're happy with everything:
python run.py serve --debug
-
Once you're happy, build the static site:
python run.py build
Just create a python settings file, using the piati/default_settings.py
as
model (you should override only the needed keys). Then either create a env var:
export PIATI_SETTINGS=path.to.settings
or use the command line --settings=path.to.settings
on all the commands.
You may first refer to the list of issues on the original repository @ https://github.com/okfn/piati/issues