{"id":26658961,"url":"https://github.com/denisecase/cintel-05-live-updates","last_synced_at":"2025-04-11T14:09:45.934Z","repository":{"id":183272271,"uuid":"646999223","full_name":"denisecase/cintel-05-live-updates","owner":"denisecase","description":"Continuous intelligence and reactive app using Shiny for Python","archived":false,"fork":false,"pushed_at":"2023-08-09T15:36:10.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":21,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T10:17:19.788Z","etag":null,"topics":["python","shiny","shiny-python"],"latest_commit_sha":null,"homepage":"https://denisecase.shinyapps.io/cintel-05-live-updates/","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/denisecase.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}},"created_at":"2023-05-29T20:50:15.000Z","updated_at":"2023-07-23T17:54:48.000Z","dependencies_parsed_at":"2023-10-03T10:27:58.788Z","dependency_job_id":null,"html_url":"https://github.com/denisecase/cintel-05-live-updates","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"7e36dbdffd407912a032195dd437cecb34366536"},"previous_names":["denisecase/cintel-05-live-updates"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fcintel-05-live-updates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fcintel-05-live-updates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fcintel-05-live-updates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fcintel-05-live-updates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denisecase","download_url":"https://codeload.github.com/denisecase/cintel-05-live-updates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248413746,"owners_count":21099352,"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":["python","shiny","shiny-python"],"created_at":"2025-03-25T10:17:23.737Z","updated_at":"2025-04-11T14:09:45.913Z","avatar_url":"https://github.com/denisecase.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Continuous Intelligence App\n\n- Repository: [cintel-05-live-updates](https://github.com/denisecase/cintel-05-live-updates)\n- Website: [cintel-05-live-updates](https://denisecase.github.io/cintel-05-live-updates/)\n- Author: [Denise Case](https://github.com/denisecase)\n\n-----\n\n## Copy This Repository\n\nCopy this starter repository into your own GitHub account by clicking the 'Fork' button at the top of this page. \n\n-----\n\n## Customize Your Web App\n\n### Get the Code to your Local Machine\n    \n1. Open VS Code and from the menu, select **View** / **Command Palette**.\n1. Type \"Git: Clone\" in the command palette and select it.\n1. Enter the URL (web address) of your forked GitHub repository (make sure it contains your GitHub username - not denisecase).\n1. Choose a directory on your local machine (e.g., Documents folder) to store the project. \n1. Avoid spaces in your directory and file names. If you have spaces, you'll need to use double quotes to keep the entire path recognized as a single string.\n1. If prompted, sign in to GitHub from VS Code.\n\n### Make Changes in VS Code\n\nWith your respository folder open in VS Code:\n\n1. Click on this README.md file for editing.\n1. Update the README.md file by changing your name in the author link above.\n1. Update the links in the README.md file to your username instead of denisecase.\n\n### Save Your Changes\n\n1. After making changes, you want to send them back to GitHub.\n1. In VS Code, find the \"Source Control\" icon and click it.\n1. Important: Enter a brief commit message describing your changes.\n1. Change the \"Commit\" button dropdown to \"Commit and Push\" to send your changes back to GitHub.\n\n-----\n\n## Create a Local Virtual Environment\n\nOpen a PowerShell terminal in this cintel-05-live-updates folder on your machine. \nCreate a virtual environment named .venv in the current directory. \nVerify that a .venv folder was created after running the command. \n\n```shell\npython -m venv .venv\n```\n\nIf VS Code asks to use it as the workspace folder, select Yes.\n\n## Activate the Environment\n\nRun the following command to activate the virtual environment we just created.\nVerify that the PowerShell prompt now shows (.venv) at the beginning of the line.\n\n```shell\n.venv\\Scripts\\activate\n```\n\n## Prepare the Environment\n\nRun the following commands to upgrade pip and install required packages.\nRerun as needed until everything is successfully installed.\n\n```shell\npython -m pip install --upgrade pip wheel pyodide-py\npython -m pip install --upgrade -r requirements.txt\n```\n\nRead the requirements.txt file to see the packages we are installing.\n\nAdditional information can be found in our first Shiny repo: \n[cintel-02-app/SHINY.md](https://github.com/denisecase/cintel-02-app/blob/main/SHINY.md#step-2-prepare-virtual-environment)\n\n-----\n\n## Run the App\n\nVerify your virtual environment is activated and packages have been installed. \nRun the following PowerShell command to start the app.\n\n```shell\nshiny run app.py\n```\n\nYou may use `shiny run app.py --reload` but it can be harder to stop the app during development.\nOpen the app by following the instructions provided in the terminal. \nFor example, try CTRL CLICK (at the same time) on the URL displayed (http://127.0.0.1:8000).\n\nHit CTRL c (at the same time) to quit the app. \nIf it won't stop, close the terminal window.\nReopen the terminal window and be sure the virtual environment is activated\nbefore running the app again.\n\n## Deploy the App\n\nAdd and customize .github/workflows/deploy.yml.\nLogin to [shinyapps.io](https://www.shinyapps.io/) then Account / Tokens and add 3 repo secrets.\nSee the earlier [SHINYAPPS.md](https://github.com/denisecase/cintel-02-app/blob/main/SHINYAPPS.md) for details.\n\n- Name: SHINYAPPS_ACCOUNT, Secret: Paste shinyapps.io account name\n- Name: SHINYAPPS_TOKEN, Secret: (paste token )\n- Name: SHINYAPPS_SECRET, Secret: (paste secret)\n\n-----\n\n## ⚠️ Delete Hosted App Before Pushing to GitHub\n\nReminder: The GitHub action deploy.yml may not automatically delete an existing app from shinyapps.io so we can redeploy.\n\nBefore pushing to GitHub, login to [shinyapps.io](https://www.shinyapps.io/) and view the list of applications. \n\n- First archive the app.\n- Then delete the archived app.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenisecase%2Fcintel-05-live-updates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenisecase%2Fcintel-05-live-updates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenisecase%2Fcintel-05-live-updates/lists"}