Docker Build and Push / build-and-push (push) Successful in 2m51s
- add flask preview command to check site without CSS/JS - fix help alert breaking on apostrophes - add missing JS line-continuations for UK locale - straighten backtick/typographic apostrophes (FR/IT/NL) - fix mistakes in IT locale - redirect bare /download to localized download page - strip underlined whitespace inside WebView links - replace icon CSS margins with literal spaces - trim link whitespace at render time, keep templates clean - upgrade htmlmin, drop unused sass nix package --------- Co-authored-by: Sweetbread <risdeveau@lair.moe> Reviewed-on: #17 Reviewed-by: Gleb Zaharov <risdeveau@lair.moe>
25 lines
434 B
Nix
25 lines
434 B
Nix
{ pkgs ? import <nixpkgs> {} }: let
|
|
pypkgs = pkgs.python3Packages;
|
|
in pkgs.mkShell {
|
|
name = "kolibrios.org";
|
|
|
|
buildInputs = with pypkgs; [
|
|
python
|
|
virtualenv
|
|
];
|
|
|
|
shellHook = ''
|
|
if [ ! -d "venv" ]; then
|
|
python -m venv .venv
|
|
fi
|
|
|
|
source .venv/bin/activate
|
|
|
|
if [ -f "requirements.txt" ]; then
|
|
pip install -r requirements.txt
|
|
fi
|
|
'';
|
|
|
|
LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib";
|
|
}
|