repo init
This commit is contained in:
commit
d3818059da
5 changed files with 317 additions and 0 deletions
24
run.sh
Executable file
24
run.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Create virtual environment if it doesn't exist
|
||||
if [ ! -d "venv" ]; then
|
||||
echo "Creating virtual environment..."
|
||||
python3 -m venv venv
|
||||
fi
|
||||
|
||||
# Activate virtual environment
|
||||
source venv/bin/activate
|
||||
|
||||
# Install requirements
|
||||
echo "Installing requirements..."
|
||||
pip install -r requirements.txt
|
||||
|
||||
# Create gpx directory if it doesn't exist
|
||||
mkdir -p gpx
|
||||
|
||||
# Run the parser script
|
||||
echo "Starting Park4Night parser..."
|
||||
python3 get_bookmarks.py
|
||||
|
||||
# Deactivate virtual environment
|
||||
deactivate
|
||||
Loading…
Add table
Add a link
Reference in a new issue