{"id":20634247,"url":"https://github.com/sameetandpotatoes/search-engine","last_synced_at":"2026-04-21T19:34:18.142Z","repository":{"id":44866869,"uuid":"45575108","full_name":"sameetandpotatoes/Search-Engine","owner":"sameetandpotatoes","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-21T19:00:47.000Z","size":11882,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-12-08T07:49:44.666Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://foodmefood.herokuapp.com/","language":"JavaScript","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/sameetandpotatoes.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}},"created_at":"2015-11-04T23:49:17.000Z","updated_at":"2016-05-31T02:50:26.000Z","dependencies_parsed_at":"2022-09-03T16:21:11.393Z","dependency_job_id":null,"html_url":"https://github.com/sameetandpotatoes/Search-Engine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sameetandpotatoes/Search-Engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sameetandpotatoes%2FSearch-Engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sameetandpotatoes%2FSearch-Engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sameetandpotatoes%2FSearch-Engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sameetandpotatoes%2FSearch-Engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sameetandpotatoes","download_url":"https://codeload.github.com/sameetandpotatoes/Search-Engine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sameetandpotatoes%2FSearch-Engine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32106722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-16T14:24:31.274Z","updated_at":"2026-04-21T19:34:18.100Z","avatar_url":"https://github.com/sameetandpotatoes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Installation\n\n- `git clone https://github.com/sameetandpotatoes/Search-Engine.git searchengine`\n- `cd searchengine`\n\nIf you have a Mac, you probably already have pip installed, but just check/upgrade first:\n\n    pip install -U pip setuptools\n\nWe are using a `virtualenv` in Python to use self-contained, independent python packages\nso that we don't have any version conflicts. This means that whenever you want to run,\ntest, or do anything, you must be in the virtualenv.\n\n## Postgres Installation\n\n- http://postgresapp.com\n- Install, make sure it's running before you start the application (see the elephant in your menu bar at the top)\n\n## `virtualenv` Installation\n\n- `virtualenv dev` (You don't have to call it dev, but I will for the remainder of this; it's just the name of your environment).\n- `source dev/bin/activate`\n\nNow that you are inside the virtual environment, install all of your packages inside of it from the `requirements.txt`:\n\n    pip install -r requirements.txt\n\n## Compiling JavaScript\n\n- Have [npm](https://nodejs.org/en/) installed.\n- Run `npm install` in the project root.\n- Then run `npm start`. Note that this is a perpetual task and if you cancel it, your JS changes will not show when you refresh the browser.\n- Now all JS changes will automatically (in a few seconds) get compiled down to `js` in `static/js`\n\n## Installing ElastiSearch\n\nAfter [downloading](https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/zip/elasticsearch/2.0.0/elasticsearch-2.0.0.zip) the latest release and extracting it, elasticsearch can be started using:\n\n    bin/elasticsearch\n\nMake sure that [http://localhost:9200](http://localhost:9200) opens up and shows you some json. That's how you know it's running!\n\n## Database Setup\n\n- Set up your PATH correctly:\n\n- In `~/.bash_profile`, add:\n\n        export PATH=\"/Applications/Postgres.app/Contents/Version/9.4/bin:$PATH\"\n\n- Then run `source ~/.bash_profile`\n\n- Run these commands in Terminal:\n\n        createdb searchengine\n        createuser -P -s -e cook\n\nEnter `chef` as the password\n\n- In the searchengine folder, create a file called `local_settings.py`:\n\n        DEBUG = True\n        TEMPLATE_DEBUG = True\n\n        DATABASES = {\n            \"default\": {\n                \"ENGINE\": \"django.db.backends.postgresql_psycopg2\",\n                \"NAME\": \"searchengine\",\n                \"USER\": \"cook\",\n                \"PASSWORD\": \"chef\",\n                \"HOST\": \"localhost\",\n                \"PORT\": \"5432\",\n            }\n        }\n\nCheck that everything works by running:\n\n    python manage.py syncdb \u0026\u0026 python manage.py makemigrations \u0026\u0026 python manage.py migrate\n\nIf it does, you're set and you can run the local server. If not, reach out to me and I'll see if I can help.\n\n## Making Migrations\n\n- If you make a change in `engine/models.py`, you need to migrate those changes to the database schema. Do that with:\n\n        python manage.py makemigrations \u0026\u0026 python manage.py migrate\n\nNow, in a separate window/tab in your Terminal, you can finally run:\n\n      python manage.py runserver\n\nOpen up `http://localhost:8000`!\n\n## ElastiSearch index updating:\n\nUsing the standard SearchIndex, your search index content is only updated whenever you run either `python manage.py update_index` or start afresh with `python manage.py rebuild_index`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsameetandpotatoes%2Fsearch-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsameetandpotatoes%2Fsearch-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsameetandpotatoes%2Fsearch-engine/lists"}