Skip to content

seba9999/bgee-unil

 
 

Repository files navigation

Requirement

  • NodeJS 16.x.x or fewer
  • Yarn

Installation

  1. Have the tools asked in the requirement
  2. At the root of the project, run the command:
yarn install
  1. Run the project in dev with the following command:
yarn start

Build

There is 2 commands for building the application.

yarn build
#or
yarn archive 

The first command will build the app to be ready for production. The second one will prepare the application to de deployed as an archive.

DO NOT FORGET Be careful with the version set in config.json, it will impact the app in production or in archive.

FAQ

Where are the images?

The images are stored externally of the project. You will find the path of the images in the config.json at the key imageDomain Be careful, the image used for the 'external icon' link is directly defined in the SCSS. If you are moving it, don't forget to change the path.

Use of Node 17.x.x

Node 17.x.x doesn't work with create-react-app. So it will be impossible to build the app. It's recommended to use

Font size matrix

$size-7: 12px;
$size-6: 1rem (= 14px)
$size-5: 1.1rem (= 15.4px)
$size-4: 1.2rem (= 16.8px)
$size-3: 1.5rem (= 21px)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.6%
  • SCSS 3.3%
  • HTML 0.1%