{"id":21453141,"url":"https://github.com/noirscape/tsuu","last_synced_at":"2025-03-17T03:12:32.693Z","repository":{"id":119015490,"uuid":"403607588","full_name":"noirscape/tsuu","owner":"noirscape","description":"A File CMS.","archived":false,"fork":false,"pushed_at":"2021-09-06T12:19:42.000Z","size":2150,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T12:46:26.653Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noirscape.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","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":"2021-09-06T12:05:24.000Z","updated_at":"2021-09-06T12:20:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"1dcb8eb2-4005-4dc9-b2f1-c2e0e6e0b75c","html_url":"https://github.com/noirscape/tsuu","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/noirscape%2Ftsuu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noirscape%2Ftsuu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noirscape%2Ftsuu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noirscape%2Ftsuu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noirscape","download_url":"https://codeload.github.com/noirscape/tsuu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243965782,"owners_count":20375918,"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-23T04:38:32.947Z","updated_at":"2025-03-17T03:12:32.688Z","avatar_url":"https://github.com/noirscape.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tsuu\n\n## ツー\n\nA fork of an anime tracker that is a file CMS. In early dev.\n\nSee CHANGELOG.md for all the changes.\n\nツー translates to \"tsuu\" and is the onomatopoeia of a buzzing insect/bee.\n\n## Setting up for development\n\nThis project uses the latest version of Python (development started on 3.9). Development mainly occurs on Windows, but other OSes should be supported.\n\n### Code Quality\n\n- Before we get any deeper, remember to follow PEP8 style guidelines and run `./dev.py lint` before committing to see a list of warnings/problems.\n  - You may also use `./dev.py fix \u0026\u0026 ./dev.py isort` to automatically fix some of the issues reported by the previous command.\n- Other than PEP8, try to keep your code clean and easy to understand, as well. It's only polite!\n\n### Install dependencies\n\n- Set up a virtualenv: `python -mvenv venv` and activate it (`source venv/bin/activate` on linux, `venv/Scripts/Activate.ps1` on Windows)\n- Make sure `wheel` is installed (saves you all the compiletime for deps): `pip install -U wheel`\n- Install the deps: `python install -Ur requirements.txt`\n\n### Finishing up\n\nThe default storage backend is SQLite.\n\n- Run `python db_create.py` to create the database and import categories\n  - Follow the advice of `db_create.py` and run `./db_migrate.py stamp head` to mark the database version for Alembic\n- Start the dev server with `python run.py`\n- When you are finished developing, deactivate your virtualenv with `pyenv deactivate` or `source deactivate` (or just close your shell session)\n\n## Database migrations\n\n- Database migrations are done with [flask-Migrate](https://flask-migrate.readthedocs.io/), a wrapper around [Alembic](http://alembic.zzzcomputing.com/en/latest/).\n- If someone has made changes in the database schema and included a new migration script:\n  - If your database has never been marked by Alembic (you're on a database from before the migrations), run `./db_migrate.py stamp head` before pulling the new migration script(s).\n    - If you already have the new scripts, check the output of `./db_migrate.py history` instead and choose a hash that matches your current database state, then run `./db_migrate.py stamp \u003chash\u003e`.\n  - Update your branch (eg. `git fetch \u0026\u0026 git rebase origin/master`)\n  - Run `./db_migrate.py upgrade head` to run the migration. Done!\n- If *you* have made a change in the database schema:\n  - Save your changes in `models.py` and ensure the database schema matches the previous version (ie. your new tables/columns are not added to the live database)\n  - Run `./db_migrate.py migrate -m \"Short description of changes\"` to automatically generate a migration script for the changes\n    - Check the script (`migrations/versions/...`) and make sure it works! Alembic may not able to notice all changes.\n  - Run `./db_migrate.py upgrade` to run the migration and verify the upgrade works.\n    - (Run `./db_migrate.py downgrade` to verify the downgrade works as well, then upgrade again)\n\n## Other\n\n- Uses cubiclesoft's [js-fileexplorer](https://github.com/cubiclesoft/js-fileexplorer)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoirscape%2Ftsuu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoirscape%2Ftsuu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoirscape%2Ftsuu/lists"}