Commit 865c603e authored by tobinski's avatar tobinski
Browse files

Update path for the projects

parent be946f88
Pipeline #5553 passed with stages
in 2 minutes and 40 seconds
# BAR API client
The bar API clients allows to fetch the first 10'000 result of a search in the bar api ((https://source.dodis.ch/metagrid/bar-recherche/-/issues/1)[#1] ) as a csv file. It allows to generate list of results for future processing. You can reuse your bar queries and download a csv with all the results. The download is optimized for the dodis. But you can easily change things in the code.
The bar API clients allows to fetch the first 10'000 result of a search in the bar api ((https://source.dodis.ch/bar/bar-recherche/-/issues/1)[#1] ) as a csv file. It allows to generate list of results for future processing. You can reuse your bar queries and download a csv with all the results. The download is optimized for the dodis. But you can easily change things in the code.
## Usage
First generate a list of results over the bar interface. Open the browser, go to (https://www.recherche.bar.admin.ch/recherche/#/de/suche/erweitert)[https://www.recherche.bar.admin.ch/recherche/#/de/suche/erweitert] and define your search parameters. Copy & paste the permalink of your search. You need to C&p the permalink over the permalink button at the top of your search. Start the bar server and past the link into the search box.
......@@ -8,9 +8,9 @@ First generate a list of results over the bar interface. Open the browser, go to
Clone the repo and build the app. You may also use the docker image. Start the bar server with `bar serve` and paste the query into the form. Click save and wait until the scrapper is finished. Then you can download your csv list.
## Develop
This is a one shot project and not intended to maintain for a longer period. For the ease of deployment we copied the vue frontend into the static folder. If you wanna add a feature to the vue frontend you need to do this in the (https://source.dodis.ch/metagrid/bar-vue)[bar-vue] project.
This is a one shot project and not intended to maintain for a longer period. For the ease of deployment we copied the vue frontend into the static folder. If you wanna add a feature to the vue frontend you need to do this in the (https://source.dodis.ch/bar/bar-vue)[bar-vue] project.
To update the JS-Files you need to build the (https://source.dodis.ch/metagrid/bar-vue)[bar-vue] project and copy the new build files into the static directory. In the docker file you will see that we copy those files into the docker image
To update the JS-Files you need to build the (https://source.dodis.ch/br/bar-vue)[bar-vue] project and copy the new build files into the static directory. In the docker file you will see that we copy those files into the docker image
## Deploy to k8
We use a stateful set to deploy the app to a kubernetes cluster. Send us a mail if you need more information about the deployment.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment