Sign inSign up

eeacms/fise.nfi.search

By eeacms

•Updated almost 7 years ago

Import, store and search National Forests Information documents coming from different MS countries.

Image
1

6.5K

eeacms/fise.nfi.search repository overview

Travis Coverage Docker

Import, store and search National Forests Information documents coming from different MS countries.

The documents are provided in standardized format like spreadsheets, in different languages. They are indexed by metadata and content in order to be searched and filtered by different pre-established criteria.

⁠Prerequisites
⁠Installing the application
  1. Get the source code:

     git clone [email protected]:eea/fise.nfi.search.git
     cd fise.nfi.search
    
  2. Customize env files and docker-compose.override.yml:

     cp docker/app.env.example docker/app.env
     vim docker/app.env
     cp docker/postgres.env.example docker/postgres.env
     vim docker/postgres.env
     cp docker-compose.override.yml.example docker-compose.override.yml
     vim docker-compose.yml
     
    
  3. Start application stack:

     docker-compose up -d
     
    
⁠Install VUE app
  1. Install dependencies:

     yarn add
    
  2. Run project:

     npm run dev
    
  3. Add package:

     yarn add "package name"
    

⁠Ubuntu elasticsearch container error:

  • If your host runs ubuntu your elasticsearch container may fail to run with the error "bootstrap checks failed". This happens because max map count is set under the value 262144

  • You can fix this temporarily(till you restart your machine) by running:

      sudo sysctl -w vm.max_map_count=262144
    
  • You can fix this permanently by modifying your max_map_count file:

      sudo vim /proc/sys/vm/max_map_count
    

    Change the value from the file with 262144 and save

Tag summary

Content type

Image

Digest

Size

116.6 MB

Last updated

almost 7 years ago

docker pull eeacms/fise.nfi.search