Web app for serving outpack and/or orderly2 metadata.
Ensure you have logged into vault. If not, Run the following command to login with github PAT token:
export VAULT_ADDR=https://vault.dide.ic.ac.uk:8200
vault login -method=github
To run the whole app (default is github auth):
./scripts/dev-start
The app will be available on port 3000. If you would like to create a super admin user then:
./scripts/dev-start --super-user
For more options:
./scripts/dev-start --help
The following commands achieve the same things but allow for finer control of each of the components:
./scripts/run-dependencies
to run the database andoutpack_server
./api/scripts/run
to run the API i.If running basic auth mode, run./scripts/basic-create-super-user
. This will create a superadmin user that can be used. Ensure api has ran and created all DB tables first.npm start --prefix=app
to run the React app on port 3000.
There are 3 subdirectories in this repo, each corresponding to a different service. See individual READMEs for further details on developing each service.
See db/README.md
See api/README.md
See app/README.md
See docs/auth.md