{"id":22323828,"url":"https://github.com/leonardrizta/radiant-bangkit-capstone","last_synced_at":"2025-07-29T15:31:56.139Z","repository":{"id":50777834,"uuid":"363681931","full_name":"leonardrizta/radiant-bangkit-capstone","owner":"leonardrizta","description":"B21-CAP0314 Bangkit 2021 Capstone Project","archived":false,"fork":false,"pushed_at":"2021-06-09T16:32:27.000Z","size":1749,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-17T06:15:28.310Z","etag":null,"topics":["android","cloud-computing","google-cloud-platform","machine-learning","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/leonardrizta.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":"2021-05-02T15:19:54.000Z","updated_at":"2023-06-15T14:10:34.000Z","dependencies_parsed_at":"2022-09-11T21:34:12.230Z","dependency_job_id":null,"html_url":"https://github.com/leonardrizta/radiant-bangkit-capstone","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/leonardrizta%2Fradiant-bangkit-capstone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardrizta%2Fradiant-bangkit-capstone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardrizta%2Fradiant-bangkit-capstone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardrizta%2Fradiant-bangkit-capstone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leonardrizta","download_url":"https://codeload.github.com/leonardrizta/radiant-bangkit-capstone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228024058,"owners_count":17857628,"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":["android","cloud-computing","google-cloud-platform","machine-learning","tensorflow"],"created_at":"2024-12-04T01:12:16.056Z","updated_at":"2024-12-04T01:12:16.675Z","avatar_url":"https://github.com/leonardrizta.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# B21-CAP0314 Bangkit 2021 Capstone Project\n\n## Project Description\n\nDermisity is an app that will try to identify skin disease from the picture taken from the user's camera, and provide\ninformation such as what is the possible disease they suffer and it also gives the user's recommended treatment for\ntheir skin disease.\n\n## Screenshoots\n\n\u003cdiv\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cimg src=\"Images/splash.png\" width=\"200\"\u003e\n    \u003cimg src=\"Images/home.jpg\" width=\"200\"\u003e\n    \u003cimg src=\"Images/treatment.jpg\" width=\"200\"\u003e\n    \u003cimg src=\"Images/camera.jpg\" width=\"200\"\u003e\n    \u003cimg src=\"Images/result.png\" width=\"200\"\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## Deployment Steps\n\nHere are the steps for deploying this project:\n\n1. Create Google Cloud Platform Project\n2. Create a Compute Engine, Cloud firestore, Cloud Storage (Bucket)\n3. Open backend/machinelearning/model_training_notebook.ipynb, change the value of project_id and bucket_name to your\n   GCP Project\n4. Run the model_training_notebook.ipynb until success saving the model to the Cloud Storage\n5. Open your Compute Engine, and clone this git project\n6. Install the latest python3, pip and nginx.\n7. Create and activate venv\n8. Open backend/cloud directory and run\n\n ```sh\npip install -r requirements.txt\"\n```\n\n9. Create wsgi.py for connecting between Flask and Nginx with this content:\n\n```sh\nfrom app import app\n\nif __name__ == \"__main__\":\n    app.run()\n```\n\n10. Create a systemd Unit File, edit the file:\n\n```sh\nsudo nano /etc/systemd/system/app.service\n```\n\nchange the value of User to yourusername and WorkingDirectory, and Environment to backend/cloud directory\n\nalso change the value of ExecStart to your gunicorn directory and change the worker parameter to your CPU count.\n\nthen run:\n\n```sh\nsudo systemctl start app\nsudo systemctl enable app\n```\n\n11. Copy the saved model from google cloud storage to backend/cloud directory, with this command:\n\n```sh\ngsutil cp gs://model-directory .\n```\n\n12. Install nginx, and edit the configuration with this command:\n\n```sh\nnano /etc/nginx/sites-available/app\n```\n\nand change the content of server like this:\n\n```sh\nserver {\n    listen 80;\n    server_name server-ip;\n\n    location / {\n        include proxy_params;\n        proxy_pass http://unix:/home/user/radiant-bangkit-capstone/backend/cloud/app.sock;\n    }\n}\n```\n\n13. Run this command:\n\n```sh\nsudo ln -s /etc/nginx/sites-available/app /etc/nginx/sites-enabled\nsudo systemctl restart nginx\nsudo ufw allow 'Nginx Full'\n```\n\n14. Then the API server can be accessed at: http://server_domain_or_IP\n\n15. For the android app, open ApiConfig.kt, and change the value of BASE_URL variable to your http://server_domain_or_IP\n\n16. open gradle.properties, and change the value of latestinfo_apikey to your News API Key\n\nDone\n\n## Built With Love By B21-CAP0314:\n\n### Android\n\n* [Rd.M.Dimas Burhanudin Akbar A1181504](https://github.com/raden-dimas-012)\n* [Habib Abdurrasyid A1191512](https://github.com/rasyidev)\n\n### Cloud\n\n* [Assyifa Almayzarani C0070750](https://github.com/syifalmyzarani)\n* [Rasyidana Sulthan F C1181506](https://github.com/rashoelfa)\n\n### Machine Learning\n\n* [Leonard Rizta Anugerah Perdana M1191519](https://github.com/leonardrizta)\n* [Kinanti Ayudya Putri Rahardiani M0070717](https://github.com/kaputrir)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonardrizta%2Fradiant-bangkit-capstone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonardrizta%2Fradiant-bangkit-capstone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonardrizta%2Fradiant-bangkit-capstone/lists"}