User Tools

Site Tools


medal-data:setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
medal-data:setup [2022/01/19 09:38] arnaudpolettomedal-data:setup [2022/01/19 11:46] (current) arnaudpoletto
Line 117: Line 117:
   - **[t_local]** Do a copy the ''.env.dokku.example'' file and name it ''.env.dokku'': \\ <code>   - **[t_local]** Do a copy the ''.env.dokku.example'' file and name it ''.env.dokku'': \\ <code>
 cp .env.dokku.example .env.dokku </code> and fill out the values depending on your desired configuration: \\ <code> cp .env.dokku.example .env.dokku </code> and fill out the values depending on your desired configuration: \\ <code>
-sudo nano .env.dokku </code> You can find an exhaustive list of environment variables here. Contact an administrator if you are not sure about any variable in this file.+sudo nano .env.dokku </code> You can find an [[variables|exhaustive list of environment variables here]]. Contact an administrator if you are not sure about any variable in this file.
   - **[t_remote]** Copy the file content to your clipboard.    - **[t_remote]** Copy the file content to your clipboard. 
   - **[t_remote]** On the remote server, paste the content at the end of the following file: ''/home/dokku/medal-data/ENV''.   - **[t_remote]** On the remote server, paste the content at the end of the following file: ''/home/dokku/medal-data/ENV''.
Line 139: Line 139:
 dokku run medal-data php artisan 2fa:authenticate_all dokku run medal-data php artisan 2fa:authenticate_all
 </code> and confirm by typing ''yes''. For more information about Two-factor authentication, click [[administrator-guide#Two-Factor authentication|here]]. </code> and confirm by typing ''yes''. For more information about Two-factor authentication, click [[administrator-guide#Two-Factor authentication|here]].
 +
 +  - **[t_remote]** If you need to export existing data from medal-//creator//, run: <code>dokku run medal-data php artisan medalc:retrieve_data</code>
  
  
Line 154: Line 156:
   - **[t_remote]** Install certificate with <code>sudo dokku letsencrypt:enable medal-data</code>   - **[t_remote]** Install certificate with <code>sudo dokku letsencrypt:enable medal-data</code>
   - **[t_remote]** Restart the server: <code>sudo dokku ps:restart medal-data</code>   - **[t_remote]** Restart the server: <code>sudo dokku ps:restart medal-data</code>
-  - Open your browser and test the system.+  - Open your browser and test the system. Make sure to setup the Two-factor authentication before logging in. You should be able to login with the admin credentials using the email address //admin@dynamic.com//. Contact an administrator to know the default admin password.
medal-data/setup.1642581496.txt.gz · Last modified: 2022/01/19 09:38 by arnaudpoletto