solidtime/README.md hinzugefügt
Add README.md
This commit is contained in:
parent
471842bffc
commit
f92ba38768
1 changed files with 28 additions and 0 deletions
28
solidtime/README.md
Normal file
28
solidtime/README.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
1. Generate the application keys after solditime starts
|
||||
You need to generate the application keys for your solidtime installation. You can do this by running the following command:
|
||||
|
||||
´´´
|
||||
docker compose run scheduler php artisan self-host:generate-keys
|
||||
´´´
|
||||
|
||||
This command will output random values for the APP_KEY, PASSPORT_PRIVATE_KEY, and PASSPORT_PUBLIC_KEY environment variables. You can copy these values and add them to the laravel.env file.
|
||||
|
||||
2. Create a user
|
||||
Depending on your configuration of the APP_ENABLE_REGISTRATION environment variable, you can either create a user via the registration form or you need to create a user via the CLI. Per default the registration is disabled.
|
||||
|
||||
You can create a user via the CLI with the following command:
|
||||
´´´
|
||||
docker compose exec scheduler php artisan admin:user:create "Firstname Lastname" "firstname.lastname@some-email-provider.test" --verify-email
|
||||
´´´
|
||||
|
||||
More information about the CLI commands can be found in the CLI commands documentation.
|
||||
|
||||
If you want this first user to be a super admin, you can add the email address to the SUPER_ADMINS environment variable in the laravel.env file.
|
||||
´´´
|
||||
SUPER_ADMINS="firstname.lastname@some-email-provider.test"
|
||||
´´´
|
||||
The command output a random password for the user. Afterwards you need to restart the containers:
|
||||
´´´
|
||||
docker compose down && docker compose up -d
|
||||
´´´
|
||||
Then you should be able log in with the user you created. If the user is a super admin, you can access the super admin panel via /admin.
|
Loading…
Add table
Reference in a new issue