• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-c誰得cocoaqtpythonrubywindowsphpgameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

A database of categories


Commit MetaInfo

Revision6f11b15b4563907e03741c73fb8953c7a6cbeb99 (tree)
Time2021-09-02 09:25:33
AuthorCorbin <cds@corb...>
CommiterCorbin

Log Message

Publish to Fly.

That was really easy!

Change Summary

Incremental Difference

--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,9 @@
1+#!/bin/sh
2+
3+exec datasette publish fly \
4+ --metadata metadata.json \
5+ --static static:static \
6+ --template-dir templates \
7+ --install datasette-template-sql \
8+ -a catabase \
9+ catabase.db
--- a/shell.nix
+++ b/shell.nix
@@ -3,9 +3,13 @@ let inherit (nixpkgs) pkgs;
33 in pkgs.stdenv.mkDerivation {
44 name = "catabase-env";
55 buildInputs = with pkgs; [
6- (python38.withPackages (ps: [ ps.datasette ps.datasette-template-sql ]))
6+ (python38.withPackages (ps: [
7+ ps.datasette ps.datasette-template-sql ps.datasette-publish-fly
8+ ]))
79 sqlite
810 graphviz
911 pandoc
12+ keychain
13+ flyctl
1014 ];
1115 }