Skip to content

Commit b233ded

Browse files
committed
Reduce deploy noise and clean up Capistrano config
1 parent 96e6f0c commit b233ded

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/bin/bash
22

3+
set -euo pipefail
4+
35
cd lib/opendataharvest
6+
7+
echo "Ensuring opendataharvest Python environment is ready..."
48
python3 -m venv venv
59
. venv/bin/activate
6-
pip install -r src/requirements.txt
10+
pip install --quiet --disable-pip-version-check -r src/requirements.txt
11+
echo "opendataharvest Python environment ready."

vite.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ import { defineConfig } from 'vite'
22
import rails from 'vite-plugin-rails'
33

44
export default defineConfig({
5+
logLevel: 'error',
6+
build: {
7+
reportCompressedSize: false,
8+
chunkSizeWarningLimit: 2000,
9+
},
510
plugins: [
611
rails(),
712
]

0 commit comments

Comments
 (0)