Skip to content

SCiO-systems/fairscribe-ui

Repository files navigation

SCiO - fairSCRIBE

This dashboard has been developed using Diamond-React application framework.

Requirements

Setup the environment

Using nodeenv:

nodeenv --prebuilt -n 14.17.0 env

Then activate the environment:

. env/bin/activate

And install the proper npm version:

npm i -g npm@7.13.0

Dependencies

To install the dependencies:

npm install

Configuration

Copy the .env.example:

cp .env.example .env

and fill all the values (REACT_APP_API_BASE_URL is the most important one).

Development locally

To run the application locally:

npm start

Open localhost:3000 in your browser (should open automatically).

Testing

To test the project locally:

npm run test

Build and run using Docker

Build a new Docker image for the project:

docker build . -t scio-fairscribe

Run the project using Docker:

docker run -d -p 3000:3000 scio-fairscribe

Production

Use npm run build to generate the production-ready app. The build folder will contain all needed files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published