Introduction
When new groups intend to use OpenSpecimen, it is recommended that their setup is first done on the test server for verification and training. This includes setting up their user accounts, sites, studies, forms, freezers, etc. Once the setup is ready to go live, OpenSpecimen allows admins to move the administrative setups from test to production easily.
This page will guide you in moving the setup from the test server to the production server step-wise.
1. Dropdowns
If there were any changes made in dropdown values like specimen types, collection containers, etc, make sure this is moved first.
Only Super Admins can modify values via the dropdown manager.
Refer to https://openspecimen.atlassian.net/wiki/x/bYDEAw for more details on how to modify dropdown values.
2. Institutes
Steps to move institutes...
Navigate to 'Institutes'.
If there is only one institute, you can create it manually.
For two or more institutes, you can use bulk import. Follow the steps:
3. Sites
Steps to move sites...
Navigate to 'Sites'.
If there is only one site, you can create it manually.
For two or more sites, you can use bulk import. Follow the steps:
Please make sure to remove the 'Identifier' column from your CSV file before importing it to the production server.
The 'Identifier' column is only used to update.
If the site has any site coordinator(s), remove the column before importing your file. You can make those changes once you import the user roles in the 6th step.
4. Users
5. Collection Protocol
Steps to move CP...
Importing CP definition to the production server will also import CP events, label formats, and CP workflow (if any).
6. User Roles
Steps to move user roles...
7. Container Types
Steps to move container types...
8. Containers
Steps to move containers...
Navigate to ‘Containers'.
Select all the containers you want to move from the test server, and click on 'Export'.
Steps to move forms...
Navigate to ‘Forms'.
Export the forms you want from the test server. Refer to the 'Export' section on the wiki page.
Import the forms back one by one on the production server. Refer to the 'Import' section on the wiki page.
Once done, you can attach the forms at respective levels. Refer to the wiki page.