Skip to content

luomus/laji

Repository files navigation

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

# clone branch
git clone git@github.com:luomus/laji.git
cd laji

# Install application dependencies
# Redis and make sure that it's running
# Python and maker sure that the python executable is in the path

# Install js dependencies (node >= v14)
npm ci

# Run the environment
npm start

# 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:
E2E_PERSON_TOKEN=
E2E_USER=
E2E_PASS=
  1. get the credentials to the e2e user from another developer
  2. run npm start to start laji.fi dev server
  3. 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.