summarylogtreecommitdiffstats
path: root/joidy.install
blob: 6d6ba6c89bd9a3bdcc1bc54eb98e3ab4b0d04bce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
  echo ""
  echo "  Joidy installed to /usr/share/joidy/"
  echo ""
  echo "  On first 'joidy up', a .env file will be auto-created in"
  echo "  ~/.config/joidy/.env with generated POSTGRES_PASSWORD and SECRET_KEY."
  echo ""
  echo "  Edit ~/.config/joidy/.env to add your credentials:"
  echo "    - GEMINI_API_KEY:     https://aistudio.google.com/app/apikey"
  echo "    - OBSIDIAN_VAULT_PATH: path to your Obsidian vault (supports ~, e.g. ~/Documentos/notas/mi-vault)"
  echo ""
  echo "  Then run: joidy up"
  echo ""
}

post_upgrade() {
  post_install
}