[Enhancement] Support Environment-Variable Configured Administrator Account Credentials #1859
-
Hi there! LOVE this project! Nice and simple little application that is super helpful and provides a great API for additional development. Request
BackgroundI'm working with youth, developing an open-source photo upload application for youth conferences and events organized by 4-H. The app serves as a simple frontend to support automatic uploads to Lychee into albums as specified by the uploader. The workflow basically constitutes a youth-delegate taking a picture, navigating to the photo upload site, and selecting whether they're participating in a "district competition," "scavenger hunt," or just want to upload a general picture. From there, they select the pictures they wish to upload, press submit, and let the app do the rest. The app uploads those photos to the "correct" album according to the youth's selections. It's a niche application, but it's super useful! In my development, and work with this system, I'd like to be able to provide a Is it possible to configure the user account from a set of environment variables, or some other "scriptable" interface? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Not yet tested this myself, but I was thinking to create a sql export to achieve similar.
|
Beta Was this translation helpful? Give feedback.
-
Once the migration is applied, you can use the command line interface of Lychee. We provide a set of function callable from bash: |
Beta Was this translation helpful? Give feedback.
-
https://github.com/LycheeOrg/Lychee-Docker/pull/153 |
Beta Was this translation helpful? Give feedback.
Once the migration is applied, you can use the command line interface of Lychee.
We provide a set of function callable from bash:
php artisan lychee:create_user [login] [password]
See here for more details.
This should provide you with the minimum required tools to do what you want.