/clowder2-frontend-old

Clowder v2 frontend (in development)

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Clowder2 React Frontend

Work in Progress

Fronted for Clowder2 backend API. Written using TypeScript, React, Material UI, Redux, webpack, Node.js.

Install dependencies:

npm install

Run for development:

npm run start:dev

By default backend runs at http://localhost:8000. If running at different url/port, use:

CLOWDER_REMOTE_HOSTNAME=http://somewhere:9999 npm start

Update calls to backend (if needed, backend must be running):

CLOWDER_REMOTE_HOSTNAME=http://localhost:8000 npm run codegen:v2

Build for production:

npm run build

Deployed using Docker:

docker compose -t clowder/clowder2-frontend

CLOWDER_REMOTE_HOSTNAME=http://localhost:8000 docker compose up