After pip install supero, neither supero login nor supero schemas push is recognised. How do I sign in and upload schemas from the CLI?
There's no supero login command
Common question, written up by the Supero team.
1 answer
The supero you get from pip is an app runner, not an account CLI. There's no login, domains, schemas or keys subcommand. Run it from the root of a generated app, the folder with schemas.py, config.py and setup.py:
./run.sh # or `supero` once it's installed in your venvThe first run asks for credentials (an API key, or an admin email and password) and saves them to .env. It then runs setup.py, which registers the project and uploads schemas.py, runs CRUD smoke tests and starts the local server. To change a schema, edit schemas.py and run it again. --setup-only does everything except start the server, and --build-ui-schemas only regenerates the UI bundle.
If your supero lists commands like install-deps, init and start, you have the on-premise package's program, which shares the name and nothing else.
Your answer
Know the answer? Sign in to post it. It takes an email address and a 6-digit code.
Sign in to answer