沉冰浮水

沉冰浮水

做最终到的事,成为最终成为的人!
github
bilibili
mastodon
zhihu
douban

"Playing around" with the RSSerpent plugin notes

Setting up the environment is always the most troublesome part... The main purpose of this note is to collect various commands for my own reference and copying.

Creating a Plugin - RSSerpent Docs:

https://docs.rsserpent.com/latest/en/contribution/plugin/

# Create a new plugin using the template
cookiecutter gh:rsserpent/template

# rsserpent-plugin-manhuagui
# The prefix part needs to be entered manually

# Enter the directory
cd rsserpent-plugin-manhuagui
# Enter the poetry virtual environment
poetry shell
# Run
uvicorn rsserpent:app --host '0.0.0.0' --port 1202 --reload

Standardization check before submission

# Enter the poetry virtual environment
poetry shell
# Stage the modifications first
git add .
# Perform the check
pre-commit run --all-files
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.