Skip to content

Conversation

@trisdoan
Copy link
Collaborator

@trisdoan trisdoan commented Dec 30, 2025

This PR evolves the template to support creating "service" projects (HTTP servers) in addition to the existing CLI tools. It introduces a new project_type option during generation, allowing users to choose between cli and service.

Layout of Service project

When initializing with project_type: service,

  • the project follows application layout
  • Managed via environment variables
  • make install: Sets up the environment.
  • make serve: Runs the local development server.

An example implementation is the Odoo Changes Frontend

@trisdoan trisdoan marked this pull request as ready for review December 30, 2025 10:17
@trisdoan trisdoan force-pushed the feat/service-support branch 4 times, most recently from 1d8bb57 to 61fae6e Compare January 6, 2026 04:49
@trisdoan trisdoan force-pushed the feat/service-support branch from 61fae6e to 0b659d0 Compare January 6, 2026 05:03

if __name__ == "__main__":
# For development only. Use a production WSGI server for deployment.
app.run(host="0.0.0.0", port=8000, debug=True)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not from imported settings?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks anh, fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants