Compare commits
2 commits
4c7c98bba0
...
708b0940d4
| Author | SHA1 | Date | |
|---|---|---|---|
| 708b0940d4 | |||
| 3ce578cd86 |
3 changed files with 14 additions and 2 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
use nix
|
||||||
4
Makefile
4
Makefile
|
|
@ -1,6 +1,6 @@
|
||||||
.PHONY: deploy
|
.PHONY: deploy
|
||||||
deploy: fetch_data
|
deploy:
|
||||||
rsync -av ./ zirconium:/var/www/home.chandlerswift.com/cities/
|
rsync -av ./ bert:/srv/www/home.chandlerswift.com/cities/
|
||||||
|
|
||||||
.PHONY: fetch_data
|
.PHONY: fetch_data
|
||||||
fetch_data: get_data.py
|
fetch_data: get_data.py
|
||||||
|
|
|
||||||
11
shell.nix
Normal file
11
shell.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
let
|
||||||
|
pkgs = import <nixpkgs> {};
|
||||||
|
in
|
||||||
|
|
||||||
|
pkgs.mkShellNoCC {
|
||||||
|
packages = with pkgs; [
|
||||||
|
gdal
|
||||||
|
python3
|
||||||
|
python311Packages.requests
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue