{"id":21625235,"url":"https://github.com/ohcnetwork/arike","last_synced_at":"2025-04-11T12:34:49.234Z","repository":{"id":39004343,"uuid":"344199163","full_name":"ohcnetwork/arike","owner":"ohcnetwork","description":"Central software system Palliative Care","archived":false,"fork":false,"pushed_at":"2023-01-07T05:48:49.000Z","size":45065,"stargazers_count":12,"open_issues_count":52,"forks_count":3,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-09T03:15:40.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://arike.coronasafe.in/","language":"Ruby","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/ohcnetwork.png","metadata":{"files":{"readme":"README.md","changelog":"changelog/2021.yaml","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-03T16:57:30.000Z","updated_at":"2025-01-23T07:43:42.000Z","dependencies_parsed_at":"2023-02-06T13:00:35.798Z","dependency_job_id":null,"html_url":"https://github.com/ohcnetwork/arike","commit_stats":null,"previous_names":["ohcnetwork/arike"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Farike","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Farike/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Farike/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Farike/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohcnetwork","download_url":"https://codeload.github.com/ohcnetwork/arike/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248402308,"owners_count":21097328,"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":[],"created_at":"2024-11-25T01:08:31.201Z","updated_at":"2025-04-11T12:34:49.197Z","avatar_url":"https://github.com/ohcnetwork.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arike\n\n## For Local Development\n\n### 1. Install Packages\n\n```\nbundle\nyarn\n```\n\n### 2. Configure application environment variables\n\n1. Copy `example.env` to `.env`.\n\n   ```\n   cp example.env .env\n   ```\n\n2. Update the values of `DB_USERNAME` and `DB_PASSWORD` in the new `.env` file.\n\n   Use the same values from the previous step. The username should be `postgres`, and the password will be whatever value you've set.\n\nThe `.env` file contains environment variables that are used to configure the application. The file contains documentation explaining where you should source its values from. If you're just starting out, you shouldn't have to change any variables other than the ones listed above.\n\n### 3. Setup and Run Server\n\n```bash\nrake db:setup\n# run the following scripts concurrently\n# in 2 terminals\nbin/webpack-dev-server\nrails server\n\n#to run the tests\nbundle exec rspec\n\n#to run a specific test file\nbundle exec rspec path/to/spec/file.rb #(eg: bundle exec rspec spec/system/home/index_spec.rb)\n```\n\n## General Notes\n\n- We use UUIDs instead of integer ids. This helps us create IDs from the client-side, so records can be saved on a mobile device without internet, and can be synced to the server once it is online. Further reading: https://pawelurbanek.com/uuid-order-rails\n\n## Gems Used\n\n- Authentication - Devise (https://github.com/heartcombo/devise)\n- Authorization - Pundit (https://github.com/varvet/pundit)\n- Pagination - Kaminari (https://github.com/kaminari/kaminari)\n\n## Changelog\n\nUsing the following command to log a new change\n\n```\n$ bundle exec logchange new\ntitle: A cool new feature has been added.\n\ngithub_issue_link: Add link to related Github issue.\nhttps://github.com/harigopal/logchange/issues/1\n\nprivate: Hide this change from the public? Set to true or false.\nfalse\n\nCreated [..]/changelog/unreleased/20170521-a-cool-new-feature-has-been-added.yml\n```\n## More\nCheck out the wiki for more information!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohcnetwork%2Farike","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohcnetwork%2Farike","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohcnetwork%2Farike/lists"}