mirror of
https://github.com/adamzend/Uploading-server-data-meteo-to-Lemmy-instance.git
synced 2026-10-30 19:02:00 +01:00
11 lines
348 B
Bash
Executable File
11 lines
348 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")"
|
|
umask 077
|
|
python3 -m venv .venv
|
|
.venv/bin/python -m pip install -r requirements.lock.txt
|
|
mkdir -p data logs wykresy tmp
|
|
if [ ! -f config.json ]; then cp config.example.json config.json; fi
|
|
chmod 600 config.json
|
|
printf '%s\n' 'Środowisko gotowe. Uzupełnij config.json w mcedit. CRON nie został włączony.'
|