Compare commits

...

2 commits

Author SHA1 Message Date
Chandler Swift 708b0940d4
Add nix-shell config 2025-03-09 17:54:24 -05:00
Chandler Swift 3ce578cd86
Deploy to new server 2025-03-09 17:54:04 -05:00
3 changed files with 14 additions and 2 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use nix

View file

@ -1,6 +1,6 @@
.PHONY: deploy
deploy: fetch_data
rsync -av ./ zirconium:/var/www/home.chandlerswift.com/cities/
deploy:
rsync -av ./ bert:/srv/www/home.chandlerswift.com/cities/
.PHONY: fetch_data
fetch_data: get_data.py

11
shell.nix Normal file
View file

@ -0,0 +1,11 @@
let
pkgs = import <nixpkgs> {};
in
pkgs.mkShellNoCC {
packages = with pkgs; [
gdal
python3
python311Packages.requests
];
}