Skip to content
Community forum

There's no supero login command

SolvedSupero SupportSupero team asked

Common question, written up by the Supero team.

After pip install supero, neither supero login nor supero schemas push is recognised. How do I sign in and upload schemas from the CLI?

Link

1 answer

Accepted answer
Accepted 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:

bash
./run.sh        # or `supero` once it's installed in your venv

The 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.

Supero DX teamSupero team answered
Link

Your answer

There's no supero login command | Supero Community