Skip to content

Commit

Permalink
Try seeding on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsilvestre committed Dec 8, 2023
1 parent b141667 commit f614fe0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { FigurePopoverBadge } from "~/components/FigurePopover";
import { BadgeHue, BadgeProps } from "~/features/dictionary/badgeFigure";
import { TOTAL_ATOMIC_COMPONENTS_COUNT } from "~/features/dictionary/TOTAL_ATOMIC_COMPONENTS_COUNT";

export const meta: MetaFunction = () => [{ title: "Remix Notes" }];
export const meta: MetaFunction = () => [{ title: "Kanjisense" }];

export default function Index() {
return (
Expand Down
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ port = 8_081
path = "/metrics"

[deploy]
release_command = "bash ./scripts/migrate.sh"
release_command = "bash ./scripts/migrate.sh && npm run prisma db seed"

[experimental]
allowed_public_ports = [ ]
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"pretest:e2e:run": "npm run build",
"test:e2e:run": "cross-env PORT=8811 start-server-and-test start:mocks http://localhost:8811 \"npx cypress run\"",
"typecheck": "tsc && tsc -p cypress",
"validate": "run-p \"test -- --run\" lint typecheck test:e2e:run"
"validate": "run-p \"test -- --run\" lint typecheck test:e2e:run",
"prisma": "prisma"
},
"eslintIgnore": [
"/node_modules",
Expand Down

0 comments on commit f614fe0

Please sign in to comment.