Note
This is a work in progress. Routes unrelated to Groups (e.g. /team
) can
still be accessed directly.
This project was written primarily with the focus of internal management and deployment to https://nextstrain.org. However, we recognize the need for some institutions to host and manage their own instance of the site, specifically just the Groups service. To facilitate this type of deployment, we have updated the different parts of the project to be more configurable and created an alternative application entrypoint to run just the Groups parts of the website.
- Clone the repository.
- Configure the server's environment: modify files in
env/testing/
and/orenv/production/
, specifically theconfig.json
andgroups.json
files. - Customize the
static-site
:- Set
groupsApp
totrue
instatic-site/data/BaseConfig.js
. - Change other values in that file and in
static-site/data/SiteConfig.jsx
.
- Set
- Customize the
auspice-client
:- Change the title in
auspice-client/customisations/config.json
. - Change the
NavBar
component's links inauspice-client/customisations/navbar.js
. - Change the
ErrorMessage
component's text inauspice-client/customisations/splash.js
. Note that we only expect the splash page to be shown when there is a bug on the Nextstrain side.
- Change the title in
- Build the application with
npm run build
. - Run the application with
npm run groups
.
When running in production, please refer to the relevant doc page.