Update Public Entities Expenditure
To update the data used at https://sandbox.vulekamali.gov.za/latest/public-entities follow these steps:
Last updated
Was this helpful?
To update the data used at https://sandbox.vulekamali.gov.za/latest/public-entities follow these steps:
Last updated
Was this helpful?
Prepare a CSV with the following columns:
Copy the CSV file to the server running the budgetportal
app e.g. for https://sandbox.vulekamali.gov.za/
scp example_public_entities_expenditure.csv treasury6.vulekemali.gov.za
ssh
to the server running the budgetportal
app e.g. for https://sandbox.vulekamali.gov.za/
ssh treasury6.vulekemali.gov.za
Find the docker container ID for the budgetportal
web
app using docker ps
e.g. for https://sandbox.vulekamali.gov.za/ docker ps returns
Now copy the CSV file into the /app
directory of the running container e.g. docker cp example_public_entities_expenditure.csv 6bee9495a55a:/app
Now run the import using: dokku run vulekamali-budgetportal-sandbox python manage.py shell < import_plublic_entities_expenditure.py