{"id":23120422,"url":"https://github.com/mimi-netizen/hive","last_synced_at":"2026-04-26T23:31:54.781Z","repository":{"id":235751910,"uuid":"786011658","full_name":"mimi-netizen/Hive","owner":"mimi-netizen","description":"A website that let's you sell your services to potential customers.","archived":false,"fork":false,"pushed_at":"2025-04-12T17:48:38.000Z","size":18301,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T18:33:14.590Z","etag":null,"topics":["django","django-admin","django-application","django-framework","django-project","django-rest-framework","python","python-3","python-django-bootstrap","python-django-web-application","python3"],"latest_commit_sha":null,"homepage":"https://hive-service-app.vercel.app","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/mimi-netizen.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":"2024-04-13T06:43:25.000Z","updated_at":"2025-04-12T17:48:41.000Z","dependencies_parsed_at":"2024-05-07T22:26:18.326Z","dependency_job_id":"4d0c59d0-e934-40a8-b92e-47ace382bbee","html_url":"https://github.com/mimi-netizen/Hive","commit_stats":null,"previous_names":["mimi-netizen/hive"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mimi-netizen/Hive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimi-netizen%2FHive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimi-netizen%2FHive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimi-netizen%2FHive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimi-netizen%2FHive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mimi-netizen","download_url":"https://codeload.github.com/mimi-netizen/Hive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimi-netizen%2FHive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32317163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: 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":["django","django-admin","django-application","django-framework","django-project","django-rest-framework","python","python-3","python-django-bootstrap","python-django-web-application","python3"],"created_at":"2024-12-17T06:10:19.571Z","updated_at":"2026-04-26T23:31:54.763Z","avatar_url":"https://github.com/mimi-netizen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hive\n\n![image](image/logo.png)\n\nHive is a website where people can buy and sell services like housekeeping, tutoring, errand running, massage \u0026 accupuncture services and more!\n![image](image/outer.jpg)\n![image](image/register.jpg)\n![image](image/login.jpg)\n![image](image/home.jpg)\n\n## Virtual Environment\n\n### How to activate virtual environemtn\n\n```bash\nsource venv/bin/activate\n```\n\n### How to deactivate\n\n```bash\ndeactivate\n```\n\n## Basic Django Commands used\n\n```\ndjango-admin help\ndjango-admin startproject \u003c\u003cname-of-project\u003e\u003e .\n\npython manage.py startapp \u003c\u003cname-of-app\u003e\u003e\n\npython manage.py runserver\npython manage.py makemigrations\npython manage.py migrate\n\npython manage.py createsuperuser\npython manage.py collectstatic\n```\n\n## Environment Variables to be set\n\nSECRET_KEY  \nDJANGOAPPMODE (Debug for local dev and Prod for deployment)  \nUSEDEBUGDB (True in local False in prod)\n\n### Email\n\nEMAIL_HOST_USER  \nEMAIL_HOST_PASSWORD\n\n### Postgres\n\nDBNAME  \nDBUSER  \nDBPASSWORD  \nDBHOST  \nDBPORT\n\n### Bucketeer (in heroku)\n\nBUCKETEER_AWS_ACCESS_KEY_ID  \nBUCKETEER_AWS_SECRET_ACCESS_KEY  \nBUCKETEER_AWS_REGION  \nBUCKETEER_BUCKET_NAME\n\n## Django Messages\n\nImplementing it in base.html\n\n```\ndjango.contrib.messages (already installed)\n```\n\n## Django Environment Variable\n\n1. Import environ package  \n   `import environ`\n2. Initialize environ  \n   `env = environ.Env()` and `env.read_env()`\n\ncreate `.env` file to manage environment variable which is left out in git repository.\n\nThis .env is used for local development\n\n## Send email\n\nUse service called \"mailgun\"\n\n1. Go to Heroku to set mailgun as resource\n2. Go to mailgun and get credentials\n3. set settings:\n\n```\nEMAIL_BACKEND=\nEMAIL_HOST=\nEMAIL_PORT=\nEMAIL_USER_TLS=\nEMAIL_HOST_USER = env('EMAIL_HOST_USER')\nEMAIL_HOST_PASSWORD = env('EMAIL_HOST_PASSWORD')\n```\n\n## What should be done\n\n- when new profile image is selected, the image shown should change as well\n- see how the bio in the profile can have larger text area\n\n## How to serve static file in production\n\nWe use `whitenoise` to serve static file.\n\nOnce you install it you should add following to Middleware:\n\n```bash\nMIDDLEWARE = [\n    'django.middleware.security.SecurityMiddleware',\n    \"whitenoise.middleware.WhiteNoiseMiddleware\",\n    ...\n]\n```\n\nThen in the settings:\n\n```bash\nSTATIC_ROOT = BASE_DIR / 'static'\nSTATICFILES_STORAGE = \"whitenoise.storage.CompressedManifestStaticFilesStorage\"\n```\n\n## Deployment to Heroku (Heroku CLI)\n\n```bash\nheroku login\n```\n\n```bash\nheroku git:remote -a \u003cname-of-app-in-heroku\u003e\n```\n\n### Files required\n\nCreate following files:\n\n- Procfile\n  - web: gunicorn hive.wsgi\n- requirements.txt\n- runtime.txt\n  - should indicate python runtime (python-3.9.14 for example or whatever python runtime used for the virtual machine)\n\n### Deployment\n\n```bash\ngit add .\ngit commit -m \"...\"\ngit push heroku main\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimi-netizen%2Fhive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmimi-netizen%2Fhive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimi-netizen%2Fhive/lists"}