Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(postgres): add connection and actions #1135

Merged
merged 3 commits into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions packages/docs/pages/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,15 @@ export default defineConfig({
{ text: 'Connection', link: '/apps/openai/connection' },
],
},
{
text: 'PostgreSQL',
collapsible: true,
collapsed: true,
items: [
{ text: 'Actions', link: '/apps/postgresql/actions' },
{ text: 'Connection', link: '/apps/postgresql/connection' },
],
},
{
text: 'RSS',
collapsible: true,
Expand Down
18 changes: 18 additions & 0 deletions packages/docs/pages/apps/postgresql/actions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
favicon: /favicons/postgres.svg
items:
- name: Insert
desc: Create a new row in a table in specified schema.
- name: Update
desc: Update rows found based on the given where clause entries.
- name: Delete
desc: Delete rows found based on the given where clause entries.
- name: SQL query
desc: Executes the given SQL statement..
---

<script setup>
import CustomListing from '../../components/CustomListing.vue'
</script>

<CustomListing />
19 changes: 19 additions & 0 deletions packages/docs/pages/apps/postgresql/connection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# PostgreSQL

:::info
This page explains the steps you need to follow to set up the Postgres
connection in Automatisch. If any of the steps are outdated, please let us know!
:::

PostgreSQL is an open-source relational database management system (RDBMS) known for its robustness, reliability, and feature-richness.
It is a powerful and reliable database management system suitable for a wide range of applications, from small projects to enterprise-level systems.

1. Fill postgreSQL version field with the version that you are using.
2. Fill host address field with the postgres host address.
3. Fill port field with the postgres port.
4. Select wheather to use ssl or not.
5. Fill database name field with the postgres database name.
6. Fill database username field with the postgres username.
7. Fill password field with the postgres password.
8. Click **Submit** button on Automatisch.
9. Now, you can start using the PostgreSQL connection with Automatisch.
1 change: 1 addition & 0 deletions packages/docs/pages/guide/available-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Following integrations are currently supported by Automatisch.
- [HTTP Request](/apps/http-request/actions)
- [Ntfy](/apps/ntfy/actions)
- [OpenAI](/apps/openai/actions)
- [PostgreSQL](/apps/postgresql/actions)
- [RSS](/apps/rss/triggers)
- [Salesforce](/apps/salesforce/triggers)
- [Scheduler](/apps/scheduler/triggers)
Expand Down
10 changes: 10 additions & 0 deletions packages/docs/pages/public/favicons/postgres.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.