项目作者: luomus

项目描述 :
Frontend for Finnish Biodiversity Information Facility (FinBIF) data portal laji.fi (and other *.laji.fi frontends)
高级语言: TypeScript
项目地址: git://github.com/luomus/laji.git
创建时间: 2020-12-10T19:31:32Z
项目社区:https://github.com/luomus/laji

开源协议:MIT License

下载


Laji.fi frontend

This is the frontend for laji.fi. Api used and it’s documentation can be
found at api.laji.fi.

This repo contains 3 main branches. Follow guidelines set in wiki for developing.

Development server

  1. # clone branch
  2. git clone git@github.com:luomus/laji.git
  3. cd laji
  4. # Install application dependencies
  5. # Redis and make sure that it's running
  6. # Python and maker sure that the python executable is in the path
  7. # Install js dependencies (node >= v14)
  8. npm ci
  9. # Run the environment
  10. npm start
  11. # Go with your browser to http://localhost:3000/

Running end-to-end tests

  1. Create an empty .env file at the root of the repository:
    1. E2E_PERSON_TOKEN=
    2. E2E_USER=
    3. E2E_PASS=
  2. get the credentials to the e2e user from another developer
  3. run npm start to start laji.fi dev server
  4. run npx playwright test (for headless mode), npx playwright test --ui (for headful mode) or use the playwright vscode plugin

Further help

You can contact us by sending feedback from laji.fi

To get more help on the angular-cli use ng --help or go check out the Angular-CLI README.