{"id":24791590,"url":"https://github.com/sofyan48/adrini_iot_platform","last_synced_at":"2025-03-24T14:23:32.712Z","repository":{"id":50199075,"uuid":"162465019","full_name":"sofyan48/ADRINI_IOT_PLATFORM","owner":"sofyan48","description":"IOT PLATFORM","archived":false,"fork":false,"pushed_at":"2022-12-08T01:29:25.000Z","size":83,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-19T14:07:48.707Z","etag":null,"topics":["iot","iot-platform","platofrm"],"latest_commit_sha":null,"homepage":"https://api.adrini.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/sofyan48.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":"2018-12-19T16:42:24.000Z","updated_at":"2021-04-18T11:45:32.000Z","dependencies_parsed_at":"2023-01-24T03:10:11.569Z","dependency_job_id":null,"html_url":"https://github.com/sofyan48/ADRINI_IOT_PLATFORM","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofyan48%2FADRINI_IOT_PLATFORM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofyan48%2FADRINI_IOT_PLATFORM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofyan48%2FADRINI_IOT_PLATFORM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sofyan48%2FADRINI_IOT_PLATFORM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sofyan48","download_url":"https://codeload.github.com/sofyan48/ADRINI_IOT_PLATFORM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245285831,"owners_count":20590479,"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":["iot","iot-platform","platofrm"],"created_at":"2025-01-29T19:17:27.803Z","updated_at":"2025-03-24T14:23:32.670Z","avatar_url":"https://github.com/sofyan48.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IOT_ADRINI\nIOT PLATFORM ALL BOARD\n\n## Installing\n\n## Environment File\nCreate New Environment File save to .env or move .env.example \n```\nmv .env.example .env\n```\nValue Environment File\n```\n### APP SETUP\nAPP_NAME = IOT_ADRINI\nAPP_HOST = 127.0.0.1\nAPP_PORT = 6969\nSECRET_KEY = asdsagdasgdasf@asfdasgvdasda@#!@#!%$#%@#@@##\nMEMCACHE_HOST=127.0.0.1\nMEMCACHE_PORT=11211\nFLASK_DEBUG = True\n\n### REDIS SETUP\nFLASK_REDIS_URL = redis://:pass@127.0.0.1:6379/0\n\n### JWT SETUP\nJWT_SECRET_KEY = wqertyudfgfhjhkcxvbnmn@123$32213\n\n### DATABASE SETUP\nDB_NAME = db_name\nDB_HOST = localhost\nDB_PORT = 26257\nDB_USER = root\nDB_SSL = disable\n\n#### DOCS\n\nSWAGGER_URL = '/api/docs'\nSWAGGER_API_URL = 'http://127.0.0.1:6968/static/swagger.json'\n\n```\n\n## Installing\nAt the time  only support Python3 or newer.\n\n``` bash\npip3 install -r requirements.txt\n```\n\nAfter Installing Requirement File, Next Install redis\n\nFedora Based\n``` bash\ndnf install redis redis-cli\n```\n\nDebian based\n``` bash\napt-get install redis redis-cli\n```\n\nSetup Your Redis auth see your .env file And Then\n\n``` bash\nredis-cli\n127.0.0.1:6379\u003e CONFIG SET requirepass \"pass\"\n\n```\n\nRuning Server\n``` bash\nsudo python manage.py server\n```\n# Cockroach DB \nInstalling CockroachDB Reference [action](https://www.cockroachlabs.com/docs/stable/)\n\n# Dockerize Development\n\nIf you using docker\n\n## Environment File\nCreate New Environment File save to .env or move .env.example \n```\nmv .env.example .env\n```\nValue Environment File\n```\n### APP SETUP\nAPP_NAME = IOT_ADRINI\nAPP_HOST = 0.0.0.0\nAPP_PORT = 6969\nSECRET_KEY = asdsagdasgdasf@asfdasgvdasda@#!@#!%$#%@#@@##\nMEMCACHE_HOST=127.0.0.1\nMEMCACHE_PORT=11211\nFLASK_DEBUG = True\n\n### REDIS SETUP\nFLASK_REDIS_URL = redis://:pass@session:6379/0\n\n### JWT SETUP\nJWT_SECRET_KEY = wqertyudfgfhjhkcxvbnmn@123$32213\n\n### DATABASE SETUP\nDB_NAME = db_name\nDB_HOST = localhost\nDB_PORT = 26257\nDB_USER = root\nDB_SSL = disable\n\n#### DOCS\n\nSWAGGER_URL = '/api/docs'\nSWAGGER_API_URL = 'http://127.0.0.1:6968/static/swagger.json'\n\n```\n## Building Image\n```\ndocker build .\n```\n\n## Run Image\n```\ndocker run -it -p 5000:5000 image sh run.sh 2\n```\n\n## Using Compose\n```\ndocker-compose up\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsofyan48%2Fadrini_iot_platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsofyan48%2Fadrini_iot_platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsofyan48%2Fadrini_iot_platform/lists"}