{"id":25107678,"url":"https://github.com/tsotetsi/whereismyjojo","last_synced_at":"2025-04-02T08:45:51.216Z","repository":{"id":62202747,"uuid":"102389615","full_name":"tsotetsi/whereismyjojo","owner":"tsotetsi","description":"Need to know where and when is the JojoTank truckcoming. ","archived":false,"fork":false,"pushed_at":"2022-10-28T09:20:22.000Z","size":44,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-03-27T15:56:25.609Z","etag":null,"topics":["django","django-rest-framework","heroku-deployment","jenkins","postgresql"],"latest_commit_sha":null,"homepage":"https://whereismyjojo.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsotetsi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-04T18:16:59.000Z","updated_at":"2022-08-27T07:42:57.000Z","dependencies_parsed_at":"2022-10-28T11:01:02.028Z","dependency_job_id":null,"html_url":"https://github.com/tsotetsi/whereismyjojo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsotetsi%2Fwhereismyjojo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsotetsi%2Fwhereismyjojo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsotetsi%2Fwhereismyjojo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsotetsi%2Fwhereismyjojo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsotetsi","download_url":"https://codeload.github.com/tsotetsi/whereismyjojo/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246785428,"owners_count":20833471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-rest-framework","heroku-deployment","jenkins","postgresql"],"created_at":"2025-02-07T23:48:59.003Z","updated_at":"2025-04-02T08:45:51.186Z","avatar_url":"https://github.com/tsotetsi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"WhereismyJojoTruck or Uber for JojoTank trucks.\n\n## Setup development environment.\n  The following libraries are required before running the project:\n\n    `sudo apt-get install libpq-dev` - Solves (Error: pg_config executable not found.).\n\n    `sudo apt install gdal-bin` - Solves (django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library....).\n\n## Init project.\n    \nThe following command will install all project dependencies.\n\n    `pip install -e .`\n\n## Setup PostgreSQL(DB) + GIS for the project.\n\n  `sudo apt update` - update local packages index.\n\n  `sudo apt install postgresql postgresql-contrib` - install postgres package using -contrib\n\n  `sudo systemctl start postgresql.service` - ensure the service has started.\n\n  `sudo -u postgres createdb whereismyjojo_dev` - create project database.\n\n  `sudo -u postgres create user thapelo with superuser password 'thapelo'` - create db user(role) for the project.\n\n  `sudo apt install postgis` - Installs postgis extension.\n\n  `django-admin createsuperuser thapelo` - create superuser for the admin page.\n\n\n## Running the project using dev settings.\nThe following command is used to run the project, from the root project directory.\n\n  `django-admin migrate --settings=project.settings_dev` - run migrations.\n\n  `django-admin runserver --settings=project.settings_dev` - run dev server\n\n  `http://127.0.0.1:8000/api` - project api url.\n\n\n## Running tests.\n\n    `pytest` or `pytest --ds=project.settings_test tests/`\n\n\n## Renaming files.\n    The following files needs to be renamed to suits your project. Check the boiler plate.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsotetsi%2Fwhereismyjojo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsotetsi%2Fwhereismyjojo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsotetsi%2Fwhereismyjojo/lists"}