Skip to main content
Version: v1.0.1

Installation

The reVISit project is open-source – meaning anyone can see the entire codebase. Most of the work that is done to create a new study is done by making changes to this codebase. Because of this, we will start by “forking the repository”.

Start by navigating to the following github repository: https://github.com/revisit-studies/study

You should see a “fork” button on the same row as the name of the repository. When you fork a repository, you are essentially creating your own copy of the repository in your GitHub account. This means that any changes you commit and push to this new repository will not affect the main source code. Instead, you or your organization will be able to have a central location for all of your studies.

When forking the repository, you will be prompted for some basic information about this repository (such as the desired name). Once you've forked the repository into your own github account, you can clone the repository to your local computer.

info

You can rename the repository to suit your needs, but if you change the name, you also need to adjust the VITE_BASE_PATH in your .env file to reflect that change.

After the repository is on your local machine, you will have the entire codebase for your personal use. Any changes that you make to this repository can be committed and then pushed to your forked repository for other users in your organization to see.

To continue, you will need yarn installed. If you already have yarn installed, you can go to Step 2 below.

info

Yarn requires that you have the package manager NPM installed. If you do not have NPM installed, please see review the NPM documentation to get started. These docs will also direct you on how to install Node – a prerequisite of NPM.

Step 1: Install yarn on your local computer using NPM:

npm i -g yarn

Step 2: Once yarn is successfully installed, navigate to your forked repository and run the following yarn command:

yarn install

This will install all the packages that the reVisit requires to run.

Step 3: Once this is finished, you can now start the program:

yarn serve

This will launch a local web server which can be accessed to view and interact with reVISit. By default, you can access this by visiting http://localhost:8080/. Any change you make to the code will automatically update the website.

When you visit the site, you'll see a list of demo studies, identical to the demo page. You can interact with any of these studies to get some familiarity (and hopefully some inspiration) for how reVISit can help you quickly launch a crowd-sourced visualization study.