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

Local Prefect #3

Open
mrocklin opened this issue Feb 9, 2024 · 1 comment
Open

Local Prefect #3

mrocklin opened this issue Feb 9, 2024 · 1 comment

Comments

@mrocklin
Copy link
Member

mrocklin commented Feb 9, 2024

If we support a local mode I wonder if we could handle Prefect locally without Prefect Cloud.

According to https://docs.prefect.io/latest/tutorial/ it could be that we just need to do the following:

$ prefect server start

Configure Prefect to communicate with the server with:

    prefect config set PREFECT_API_URL=http://127.0.0.1:4200/api

I just tried this with generate_data.py and while the runs failed, I think that the prefect stuff was fine.

@mrocklin
Copy link
Member Author

mrocklin commented Feb 9, 2024

Oh, I'm getting these now:

sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) database is locked

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

No branches or pull requests

1 participant