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

where to setup the sign in email and password?[Bug]: #4714

Open
liwenz opened this issue Mar 11, 2024 · 1 comment
Open

where to setup the sign in email and password?[Bug]: #4714

liwenz opened this issue Mar 11, 2024 · 1 comment
Labels
bug Something isn't working triage

Comments

@liwenz
Copy link

liwenz commented Mar 11, 2024

Description of the issue

How to setup the sign in email and password?
I guess in saleor core
ADMIN_EMAIL="[email protected]"
ADMIN_PASS="123", which is in the saleor core.
but fail

Steps to reproduce the problem

in ubuntu 22,
1: start saleor core(Debug=true SSL=false):
python manage.py runserver
Starting development server at http://127.0.0.1:8000/
Next.js 14.0.4

2: start storefront,
(saleor) leon@leon-MacBookPro:/storefront$ npm run dev
check it works well
3: start dashboard
(saleor) leon@leon-MacBookPro:
/saleor-dashboard$ npm run dev
http://localhost:9000/
sign in email and password
I think
ADMIN_EMAIL="[email protected]"
ADMIN_PASS="123", which is in the saleor core.
but it's wrong
where to setup the email and password?

What did you expect to happen?

I hope to know where to setup the email and password, then I could sign in the dashboard

Additional information

No response

Environment

Browser and version: …chrom
OS and version: …ubuntu 22
Dashboard version: …[email protected] build-types
Core version: …
version = "3.20.0-a.0"
March 09, 2024 - 23:31:14
Django version 3.2.25,

@liwenz liwenz added bug Something isn't working triage labels Mar 11, 2024
@DustinBracy
Copy link

DustinBracy commented Mar 15, 2024

I believe the admin superuser is needed to log into the dashboard for the first time. If you are using docker/docker compose, you can run the following (assuming your core is named api):
docker compose run --rm api python3 manage.py createsuperuser

Otherwise, just run python manage.py createsuperuser and follow the prompts.

This is pulled straight from the self-hosted installation docs here: https://docs.saleor.io/docs/3.x/setup/docker-compose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
Status: No status
Development

No branches or pull requests

2 participants