A data processing and retrieval project regarding F1 seasons 1950-2023.
-
To run the startup script for the project, first run the command
docker run -p 8983:8983 --name f1_solr -v ${PWD}:/data -d solr:9.3
in thef1db_json
folder. -
Then, from the
solr/scripts
folder, simply runstartup.sh
. -
If you are having problems running
./startup.sh
in Ubuntu or WSL, runsed -i -e 's/\r$//' scriptname.sh
before./startup.sh
. It will replace CR characters with nothing, leaving these lines with LF (\n) as the ending, allowing bash to read and execute the file without any problems.