Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New command: chel serve #29

Open
taoeffect opened this issue Feb 12, 2024 · 0 comments
Open

New command: chel serve #29

taoeffect opened this issue Feb 12, 2024 · 0 comments
Assignees
Labels
help wanted Extra attention is needed priority:high

Comments

@taoeffect
Copy link
Member

taoeffect commented Feb 12, 2024

Problem

We need the ability to serve Chelonia apps.

As a preliminary first step, something simple is needed.

Solution

Implement a chel serve command that looks something like this:

chel serve [options] <directory>

OPTIONS

-p,--port <port>        set port (default: 8000)
--db-type <type>     one of: files, sqlite, mem (default: mem)
--db-location <loc>  for "files", a directory, for "sqlite", path to sqlite database

Note: will need to create @chelonia/lib to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed priority:high
Projects
None yet
Development

No branches or pull requests

2 participants