Skip to content

obiba/amber-studio

Repository files navigation

Amber Studio

Amber is the Electronic Data Capture server. Amber Studio is a web interface for managing the server:

  • users and groups
  • studies and forms
  • case reports
  • ...

Install the dependencies

yarn

Start the app in development mode (hot-code reloading, error reporting, etc.)

yarn quasar dev

Note that the Amber server is expected to run at http://localhost:3030.

Build the app for production

yarn quasar build

Environment variable for building the app in production:

  • AMBER_URL, the url of the Amber server, exposing a REST API used by Amber Studio (make sure CORS policy is set correctly on the server)
  • RECAPTCHA_SITE_KEY, the reCAPTCHA v3 site key for the Registration page. If not specified, user self-registration is disabled.
  • PATH_PREFIX, the public path of your app. By default, it uses the root: /. Use it when your public path is something else, like "https://www.example.org/some_path" where the path prefix is /some_path.

Customize the configuration

  • Modify the settings.json file for theming and overriding translations.
  • Override the src/components/Banner.vue file to apply your own banner in front pages (login, register, forgot password etc. pages).
  • Override the src/css/custom.scss file to apply your own stylesheet rules.

See also Configuring quasar.conf.js.

License

MIT