Hey! I'm really excited to start using solidus but...
# support
a
Hey! I'm really excited to start using solidus but I'm having a problem off the start. The documentation is great and the install is so simple but for some reason I didn't get prompted to register admin login... where did I go wrong?
e
I think that might be an issue with the documentation, admin email and password are generated in the database seeds and now are controlled via CLI options (
--admin-email
and
--admin-password
)
If you could point me to the misleading documentation I can fix it right away
a
https://guides.solidus.io/getting-started/installing-solidus/ Underneath 'In an Existing App' header it says 'you will be prompted for an admin email and password.' I've also encountered this step happening in any walkthrough video I've seen...
e
Gotcha thanks! 👍
a
So where can I find some documentation to do this correctly?
e
This is the PR with the updated text, as said above the correct way is to pass
--admin-email="<mailto:myemail@example.com|myemail@example.com>
and
--admin-password="secret123"
to
bin/rails g solidus:install
if you instead want to use the seeds for production or use custom credentials after installation you can use environment variables:
Copy code
export ADMIN_EMAIL="<mailto:myemail@example.com|myemail@example.com>"
export ADMIN_PASSWORD="secret123"
and then run the seeds, e.g. with
bin/rails db:seed
a
I see that makes sense. Thanks so much for your help, you're a superstar!
😊 1
k
@elia nice! I think you forgot to link the PR!
e