saasforge / open-source-saas-boilerpate

Free SaaS boilerplate (Python/PostgreSQL/ReactJS/Webpack)
https://www.saasforge.dev
MIT License
804 stars 115 forks source link

flask dbcreate fails #5

Closed s13cre13t closed 4 years ago

s13cre13t commented 4 years ago

trying to run flask dbcreate fails

cd /saasForge/ flask dbcreate

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

Error: No such command "dbcreate".

flask --version

Flask 1.0.2 Python 3.7.5 (default, Nov 20 2019, 09:21:52) [GCC 9.2.1 20191008]

ubuntu 19.10

saasforge commented 4 years ago

Can you please check if your environmental variable has "FLASK_APP=application" var? Another reason could be some compilation error. For example, if you run "flask run" will you see any errors?

saasforge commented 4 years ago

Closed due to inactivity.