Dream: Build a new Q&A website for the BDSM circle, with a professional fashion designer, and require Python knowledge
Universal requirements:
- Essential tool: a virtual environment management and activation system, and a project directory management system to support the creation, deletion, and listing of projects (similar to virtualenvwrapPEr). Create a module called site.qa reSPonsible for project management.
- Supporting module qa_api: mainly responsible for launching Q&A server programs (multi-threaded and asynchronous supported simultaneously? Or start multiple instances? Not a tall order) If you want to start multiple Q&A servers, you suggest using separate processes, and if you want to start between 10 and 50 servers depending on resources. Not directly involved in the management of the Q&A server itself, but start/stop/restart/reload (hotfix)
Web page for managing projects
- Requirements: Ability to list available projects, start project, stop project, delete project. Can also create a project.
- After creating a project, need to have an installation method. At least can create a project directory and a venv automatically. Does not support Ansible because it is not installed.
- For project management, create a
project.pyfile in the project directory (specifically namedvassal, if not, please remove this function). Can execute by simply activating the environment and then running the command python. - If additional files are needed, please also create a
README.mdand automatically complete if there is noREADME.md. But do not create too many and complicate things. Question and Answer System
- All project questions are saved in
<项目目录>/qa.ini, format example: [q1] question=安装依赖 answer=安装依赖可以用 pip install -e .,但新项目需要 pip install -r requirements.txt。- User interface query: After logging in, open a page for search questions, and also provide a page for asking new questions, and update the questions in the system.
- Question management system: Allow updating questions (even question text changes), deleting questions. Need to view all questions.
- All project questions are saved in

Root directory structure recommendation:
/website/djangoproj/ -> code-based website
/website/qaweb/ -> web page written with Flask or other lightweight web frameworks
/website/qasvr/ -> server that handles QA over Inotify (epoll or asyncio + http)
Detailed description of business requirements
User Account Management
- Registr.
