You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To set up your local platform to connect to these projects, run the seeders, then run 2 custom commands to finish setting up the environment:
php artisan migrate:fresh --seed
php artisan db:seed TestOdkStuffSeeder
# run custom script to copy the media file assets into the storage/app folder
php artisan app:copy-media-test
# run custom command to update your xlsform_versions table, # just in case the versions on ODK Central have been changed since the seeder was created.
php artisan app:update-xlsform-versions-from-odk-central
Generate submissions
We need a set of submissions for testing purposes. For now, @ciara-mc - can you pick one of the projects and then generate 100 submissions for each of the existing forms? Depending on how you're getting the xlsform file at the moment, you can either:
use the form directly (get it from ODK Central, or from the platform ('download xls file' on the Admin panel TeamReource -> XlsformRelationManager).
Setup Local Env to connect to the existing Test Teams on ODK Central.
For now, check out the
real-form-seeders
branch to run this process. (Or merge that branch into your local branch). I'll merge it into dev later:We have 3 test teams on ODK Central that are 'shared' for local testing / development:
To set up your local platform to connect to these projects, run the seeders, then run 2 custom commands to finish setting up the environment:
Generate submissions
We need a set of submissions for testing purposes. For now, @ciara-mc - can you pick one of the projects and then generate 100 submissions for each of the existing forms? Depending on how you're getting the xlsform file at the moment, you can either:
generateXlsFile()
(Which now exists on the Xlsform model: https://github.com/stats4sd/filament-odk-link/blob/03363a8e14babefd5691662a55eeaaa2ae60b6dd/src/Models/OdkLink/Xlsform.php#L57The text was updated successfully, but these errors were encountered: