{"id":24968517,"url":"https://github.com/jcng75/randomrestaurant","last_synced_at":"2026-04-20T19:02:40.691Z","repository":{"id":164495631,"uuid":"601375671","full_name":"jcng75/RandomRestaurant","owner":"jcng75","description":"A random app designed to help confused, hungry consumers.","archived":false,"fork":false,"pushed_at":"2023-05-12T15:22:30.000Z","size":16916,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T03:27:16.208Z","etag":null,"topics":["bootstrap","django","google-maps-api","html","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcng75.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-13T23:41:55.000Z","updated_at":"2023-05-12T15:25:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"07813d0a-c5df-4bd6-9c6d-a8a0b1459a03","html_url":"https://github.com/jcng75/RandomRestaurant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jcng75/RandomRestaurant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcng75%2FRandomRestaurant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcng75%2FRandomRestaurant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcng75%2FRandomRestaurant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcng75%2FRandomRestaurant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcng75","download_url":"https://codeload.github.com/jcng75/RandomRestaurant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcng75%2FRandomRestaurant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32061251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bootstrap","django","google-maps-api","html","python"],"created_at":"2025-02-03T13:19:20.112Z","updated_at":"2026-04-20T19:02:40.664Z","avatar_url":"https://github.com/jcng75.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# RandomRestaurant\r\n\r\n## This app was created with the intention to help indecisive consumers choose their next restaurant!\r\n\r\n**Steps to run**\r\n1. Clone the github repository using `git clone https://github.com/jcng75/RandomRestaurant/`\r\n\r\n2. Please confirm that you have python installed, by running the command `python --version`.\r\nIf not installed, please do so by downloading it on https://www.python.org/downloads/.\r\n\r\n3. In your preferred terminal, make sure the django library is installed by running the command:\r\n`pip install django`\r\n\r\n4. Within the *settings.py* in `src/src/settings.py`, please make the following modifications:\r\nPlease delete the line: load_dotenv(find_dotenv())\r\nAdd your own secret key to this line:\r\nSECRET_KEY = os.environ['SECRET_KEY']\r\nIt should look something like this: SECRET_KEY = '$b9a(z6pzrn)enuk==3+up@t)q0eknd\u0026m#@n9%5nmsl+mpdaem'\r\nNOTE: The secret key should be a 50 character randomly generated key.\r\nIf you are not sure how to generate this key, you can run the following code snippet into your python compiler:\r\n`\r\nfrom django.core.management.utils import get_random_secret_key\r\nprint(get_random_secret_key())\r\n`\r\n5. Within the views.py from the randRest directory, you have to add your google apis key.  Goto the google apis website and create a key for google maps.  please change the following line of code:\r\n`API_KEY = environ[\"API_KEY\"]`\r\nTo: `API_KEY = \"YOURAPIKEYGOESHERE\"`\r\n\r\n6. Please pip install the following libraries if you have not already:\r\n`pip install googlemaps`\r\n`pip install geopy`\r\n\r\n7. Within the *src* directory (the outer one) in terminal please run the following 2 commands to add our models:\r\n`python manage.py makemigrations`\r\n`python manage.py migrate`\r\n\r\n8. Within the *src* directory (the same one from step 7), run the following command: `python manage.py runserver`\r\n\r\nFrom there, you should be able to view the webserver in a browser entering the URL: *http://127.0.0.1:8000/*\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcng75%2Frandomrestaurant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcng75%2Frandomrestaurant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcng75%2Frandomrestaurant/lists"}