{"id":24735342,"url":"https://github.com/brawlingthebits/cederj-vacation","last_synced_at":"2026-04-29T22:02:38.515Z","repository":{"id":272769437,"uuid":"917694156","full_name":"brawlingthebits/cederj-vacation","owner":"brawlingthebits","description":"Small project to calculate the grades needed to pass the subjects at the Fluminense Federal University, through the cederj consortium: a project in Rio de Janeiro that helps students to study at a distance. ","archived":false,"fork":false,"pushed_at":"2025-11-01T00:30:59.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-01T02:25:14.354Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://quero-ferias-cederj.fly.dev/","language":"HTML","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/brawlingthebits.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":"2025-01-16T13:28:03.000Z","updated_at":"2025-11-01T00:31:02.000Z","dependencies_parsed_at":"2025-01-16T15:06:11.587Z","dependency_job_id":"0a69c9f7-6bdf-43af-bbfe-c46abf5b28fe","html_url":"https://github.com/brawlingthebits/cederj-vacation","commit_stats":null,"previous_names":["brawlingthebits/cederj-vacation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brawlingthebits/cederj-vacation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brawlingthebits%2Fcederj-vacation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brawlingthebits%2Fcederj-vacation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brawlingthebits%2Fcederj-vacation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brawlingthebits%2Fcederj-vacation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brawlingthebits","download_url":"https://codeload.github.com/brawlingthebits/cederj-vacation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brawlingthebits%2Fcederj-vacation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32445555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-01-27T20:27:08.755Z","updated_at":"2026-04-29T22:02:38.510Z","avatar_url":"https://github.com/brawlingthebits.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# quero-ferias-cederj\n\nEste projeto é uma aplicação Flask simples que calcula a nota necessária na prova AP2 para que a média final do aluno seja no mínimo 6, com base nas notas de AD1, AP1 e AD2.\n\n## Requisitos\n\n- Python 3.x\n- Flask\n\n## Instalação\n\n1. Clone este repositório:\n   ```bash\n   git clone https://github.com/seu-usuario/quero-ferias-cederj.git\n   ```\n   \n2. Navegue até o diretório do projeto:\n   ```bash\n   cd quero-ferias-cederj\n   ```\n\n3. Crie um ambiente virtual (opcional, mas recomendado):\n   ```bash\n   python3 -m venv venv\n   source venv/bin/activate  # No Windows: venv\\Scripts\\activate\n   ```\n\n4. Instale as dependências:\n   ```bash\n   pip install flask\n   ```\n---\n\n## Executando com `python app.py`\n\nEste método funciona diretamente se o seu script `app.py` contém a verificação `if __name__ == '__main__':` e chama `app.run(...)`. Para usar este método:\n\n1. Certifique-se de que as dependências estão instaladas (especialmente o Flask).\n2. No terminal, na raiz do projeto, execute:\n   ```bash\n   python app.py\n   ```\n3. Acesse `http://localhost:8080` no navegador para ver a aplicação em funcionamento.\n\n---\n\n## Executando com `flask run`\n\nEssa abordagem usa as variáveis de ambiente para configurar e iniciar a aplicação. Siga os passos abaixo:\n\n1. **Defina a variável de ambiente para o aplicativo Flask**:\n\n   - **No Linux/Mac**:\n     ```bash\n     export FLASK_APP=app.py\n     export FLASK_ENV=development  # Opcional: ativa o modo de desenvolvimento com recarregamento automático.\n     ```\n   - **No Windows (cmd.exe)**:\n     ```cmd\n     set FLASK_APP=app.py\n     set FLASK_ENV=development\n     ```\n     **No Windows (PowerShell)**:\n     ```powershell\n     $env:FLASK_APP = \"app.py\"\n     $env:FLASK_ENV = \"development\"\n     ```\n\n2. **Instale o Flask**, se ainda não o fez:\n   ```bash\n   pip install flask\n   ```\n\n3. **Execute o comando**:\n   ```bash\n   flask run --host=0.0.0.0 --port=8080\n   ```\n   - Os parâmetros `--host=0.0.0.0` e `--port=8080` são utilizados para replicar a configuração de `app.run(host='0.0.0.0', port=8080)` do script. Se você não especificá-los, o Flask usará os padrões (`127.0.0.1` e porta `5000`).\n\n4. **Abra o navegador** e acesse:\n   ```\n   http://localhost:8080\n   ```\n   ou, se estiver usando `127.0.0.1` e a porta 5000:\n   ```\n   http://127.0.0.1:5000\n   ```\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrawlingthebits%2Fcederj-vacation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrawlingthebits%2Fcederj-vacation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrawlingthebits%2Fcederj-vacation/lists"}