PLANETprocure
Sign in.
Each organisation has one account. Nobody sees anybody else’s purchasing.
No accounts exist yet. Create the first one from the app folder:
python auth.py add-user <name> --role admin
It will ask for a password. An admin can see every client; a client account is made
with --role client --tenant <id>.
On a deployed server there is no shell to run that in, so run it on your own
machine with the server’s database pointed at:
DATABASE_URL=<the public Postgres URL> python auth.py add-user <name> --role admin
It writes the account into the server’s database, not your local one. The
password is typed at a prompt rather than passed as an argument, so it never
reaches your shell history.