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

Error: No such command 'current'. #31

Open
AmyMoriyama opened this issue Oct 25, 2022 · 0 comments
Open

Error: No such command 'current'. #31

AmyMoriyama opened this issue Oct 25, 2022 · 0 comments

Comments

@AmyMoriyama
Copy link

AmyMoriyama commented Oct 25, 2022

FLASK_APP=app.py FLASK_DEBUG=1 SQLALCHEMY_DATABASE_URI=sqlite:///tmp/test.db flask current
Usage: flask [OPTIONS] COMMAND [ARGS]...
Try 'flask --help' for help.

Error: No such command 'current'.


So, I followed the instructions on the readme...
git clone https://github.com/juriansluiman/groceri.es.git
cd groceri.es
(on second try I do git fetch origin pull/25/head:pr-25 && git checkout pr-25 here)
python3 -m venv ve
source ve/bin/activate
pip install -r app/requirements.txt
cd app/
FLASK_APP=app.py FLASK_DEBUG=1 SQLALCHEMY_DATABASE_URI=sqlite:///tmp/test.db flask current

and it errors

Usage: flask [OPTIONS] COMMAND [ARGS]...
Try 'flask --help' for help.

Error: No such command 'current'.

So, what am I missing or is this a bug?

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
(MX Linux)

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