{"id":25275044,"url":"https://github.com/cohoe/havana","last_synced_at":"2025-04-06T09:29:25.034Z","repository":{"id":140974026,"uuid":"234663892","full_name":"cohoe/havana","owner":"cohoe","description":"Container deployments for Amari","archived":false,"fork":false,"pushed_at":"2023-02-16T05:30:08.000Z","size":20,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-12T15:00:06.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/cohoe.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":"2020-01-18T01:15:25.000Z","updated_at":"2022-04-25T01:02:21.000Z","dependencies_parsed_at":"2023-06-29T06:01:08.904Z","dependency_job_id":null,"html_url":"https://github.com/cohoe/havana","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/cohoe%2Fhavana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cohoe%2Fhavana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cohoe%2Fhavana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cohoe%2Fhavana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cohoe","download_url":"https://codeload.github.com/cohoe/havana/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247463492,"owners_count":20942933,"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":"2025-02-12T14:49:06.628Z","updated_at":"2025-04-06T09:29:25.024Z","avatar_url":"https://github.com/cohoe.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Havana\n======\n\nPodman/Docker app stack.\n\nRequirements\n------------\n* Podman (or Docker)\n* podman-compose (or docker-compose)\n* Python 3 with pip \u0026 virtualenv (virtualenvwrapper is encouraged for easy setup)\n* Local copies of the other repos:\n  * [cohoe/jamaica](https://github.com/cohoe/jamaica)\n  * [cohoe/barbados](https://github.com/cohoe/barbados)\n  * [cohoe/tortuga](https://github.com/cohoe/tortuga)\n  * [cohoe/england](https://github.com/cohoe/england)\n\nSetup\n-----\n\n### Python Virtualenv\nEnsure you have a venv based on python3.\n\n```\nmkvirtualenv amari -p python3\n```\n\nInstall all requirements from this repo's `requirements.txt`.\n\n```\npip install -r requirements.txt\n```\n\nIn each repo directory of [barbados, england, jamaica]:\n```\npip install -e .\n```\n\nExecution\n---------\n\n### Start the stack\nFrom the Havana `docker-compose.yml`\n```\npodman-compose up -d\n```\n\n### Bootstrap the Database\n```\nDATABASE_USERNAME=postgres DATABASE_PASSWORD=putthedbpasshere DATABASE_NAME=amari amari init\n```\nThe password and database name should match whats in the `docker-compose.yml`. Edit it if you want to.\n\n### Fill in the Tables\nEnsure you're still in the virtualenv (it usually prefixes your shell).\n```\namari import ingredients ../tortuga/ingredients/\namari import recipe ../tortuga/recipes/\n```\n\n### Run API\nFrom the Jamaica repo:\n```\npython3 jamaica/app.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcohoe%2Fhavana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcohoe%2Fhavana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcohoe%2Fhavana/lists"}