Skip to content

Upgrade View Init #91

Open
Open
@ZeroIntensity

Description

@ZeroIntensity

Improvement Description

A more rich, featured version of view init should be implemented. It should include (at least) the following:

  • Git repo initialization
  • Component setup (Advanced Components API #12 and Layouts #90)
  • Along with component setup, presets with various UI libraries (Tailwind, Bootstrap)
  • Install dependencies
  • Database setup (This can be put off until Database ORM #10 is done)
  • Virtual environment setup

Improvement Request Example API

$ view init
Name of project: my_app
Loader strategy [manual, simple, filesystem] (simple):
License (MIT):
Use a Git repository [y/N] (y):
Use components [y/N] (y):
Use a virtual environment [y/N] (y):
Select UI library:
- (none)
- Tailwind
- Bootstrap
- ... more here

Created `my_app/`
Created `my_app/app.py`
Created `my_app/view.toml`
Created `my_app/routes`
Created `my_app/routes/index.py`
Created `tailwind.config.js`
Initialized virtual environment in `my_app/.venv`

Installing view.py
... pip output ...

Successfully created `my_app`

Anything else?

No response

Metadata

Metadata

Assignees

Labels

cliThis has to do with the CLI ($ view)delayedDelayed due to another issueimprovementImprovement to an existing feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions