Files
ArXtic/setup.sh
2025-10-18 12:45:59 +02:00

45 lines
1.4 KiB
Bash
Executable File

#!/usr/bin/env bash
# [TLP:AMBER] LIMITED DISTRIBUTION: WORK IN PROGRESS
# Author: Moussouni, Yaël (MSc student; yael.moussouni@etu.unistra.fr)
# Institution: Université de Strasbourg, CNRS, Observatoire astronomique
# de Strasbourg, UMR 7550, F-67000 Strasbourg, France
# Date: 2025-09-22
#
# Licence:
# ArXtic
# Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
#
# setup.sh
# Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see www.gnu.org/licenses/.
source activate.sh
echo "=== [ Directory setup ] ==="
mkdir -p -v cfg/filters
mkdir -p -v db
touch db/read.bib
touch db/unread.bib
touch db/local.bib
touch db/today.bib
chmod u+x *.sh
echo "=== Done ==="
echo "=== [ Python environment setup ] ==="
echo "--> pip"
${VENV_DIR}bin/pip3 install -r cfg/requirements.txt
echo "=== Done ==="
echo ""