diff options
-rw-r--r-- | vps-configuration.env.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vps-configuration.env.nix b/vps-configuration.env.nix index 290ecbe..af37396 100644 --- a/vps-configuration.env.nix +++ b/vps-configuration.env.nix @@ -59,6 +59,7 @@ let pushd ${envsubstConfiguration.piresProdDir} ${pkgs.git}/bin/git pull ${pkgsUnstable.poetry}/bin/poetry install --no-dev --extras "waitress" + ${pkgsUnstable.poetry}/bin/poetry run flask inicializar-banco ${pkgsUnstable.poetry}/bin/poetry run waitress-serve --host localhost --port ${envsubstConfiguration.piresProdPort} --call pires:create_app ''; in { |