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
Deploying your study should be relatively simple. We include a GitHub action that will build your study and deploy it to GitHub pages. The only item that the user must adjust is in the `.env` file in the root of the repository. At the top of this file, you should see `VITE_BASE_PATH="/study/"`. Change "/study/" to `"/<repo-name>/"`.
18
19
19
20
After this, you'll need to make sure that your Github repository has workflow actions enabled. Navigate to the actions tab in your repository as shown below.
@@ -43,3 +44,31 @@ Click 'Save' once you have made the switch. After a short period of time, your r
43
44
:::info
44
45
If you would like to enable admin sign ins when you deploy your static website, you will have to make sure that Firebase has your domain name set as an authorized domain. Please see [here](../authentication-authorization/adding-removing-ui/#adding-authorized-domains) to add your custom domain.
45
46
:::
47
+
48
+
## Deploying using Netlify
49
+
50
+
Similarly deploying your study to Netlify is relatively straightforward. First, modify the VITE_BASE_PATH in your .env to be
51
+
52
+
```
53
+
VITE_BASE_PATH="/"
54
+
```
55
+
56
+
Then create a new file called `public/_redirects`, the contents of the file should be
57
+
58
+
```
59
+
/* /index.html 200
60
+
```
61
+
62
+
Next, navigate to netlify. This will likely require you to sign in or to make an account. From the home page, create a new project using
63
+
64
+

65
+
66
+
Then, on the next page, select Github. This will require you to authorize netlify as a GitHub app. This will then bring up a list of repos
67
+
68
+

69
+
70
+
Search for the appropriate repo and then select it. This will bring up a configuration screen for the new netlify project. You should enter a project name, which will determine the url (e.g., YOUR_PROJECT.netlify.app if your project name is YOUR_PROJECT). Scroll to the bottom of the screen and click "Deploy YOUR PROJECT NAME".
71
+
72
+
The first build will take a bit, but once it runs, your experiment should be ready!
73
+
74
+
If you are using netlify as a secondary venue for anonymization purposes, you can specify which branch netlify will use to deploy from. For instance a branch called `for-review' might remove all personnel and affiliation information.
A reVISit study will go through multiple stages over its lifetime. It'll first start as a local study that is iteratively refined until the study is fully built, it will then be deployed and tested, it will be send out to participants for data to be collected, and finally the study will be disseminated to reviewers.
11
+
A reVISit study will go through multiple stages over its lifetime. It'll first start as a local study that is iteratively refined until the study is fully built, it will then be deployed and tested, it will be send out to participants for data to be collected, and finally the study will be disseminated to reviewers.
12
12
13
13
## Revisit Modes
14
14
@@ -53,3 +53,5 @@ When disseminating your study to reviewers and the wider public, you should:
53
53
- Disable data collection
54
54
- Enable the study navigator
55
55
- Make the analytics interface publicly accessible
56
+
57
+
If your are submitting to a venue that requires anonymization, such as ACM SIGCHI, consider creating a second deployment. If your primary deployment is on GitHub, consider adding a secondary one on [netlify](/docs/data-and-deployment/deploying-to-static-website/#deploying-using-netlify).
0 commit comments