Connect a Python app
PageSoar drafts titles and descriptions. Once you approve them, it writes them into your site's source code.
What you need#
- The git address of the repository with your site's source code
- Access to its settings, to add this workspace's deploy key
About 5 minutes, most of it in your git host.
How it connects#
Add this workspace's deploy key to the repository with your site's source code, then give its git address on Connect. PageSoar confirms the connection by itself.
When it is connected#
Your site's source code is connected, so a change you approve is written straight away and is live once the site deploys. Changes are checked by reading each back from your site's source code.
The Connect page has the full steps.
If it does not connect#
PageSoar checks the connection before it saves anything, so a refused connection changes nothing on your site or in your site's source code. Below, find the start of what PageSoar said when you pressed Connect, make the change, and connect again.
PageSoar says: “The sample workspace connects no real website.”#
Why: The sample company is a demonstration. It has no site of yours to write to.
Fix: Open your own workspace and connect from there.
PageSoar says: “…address in Workspace settings first…”#
Why: PageSoar checks that the platform serves your site, so it needs your site's address first.
Fix: Open Settings, Company and fill in Website (and Staging site, to connect your test site), then connect again.
PageSoar says: “PageSoar could not reach…”#
Why: The repository's address is wrong, or this workspace's deploy key has not been added to it.
Fix: Add the deploy key shown on the Connect card to the repository with write access allowed (on GitHub: Settings, Deploy keys, Add deploy key, Allow write access), check the git address, then connect again.
PageSoar says: “…has no file named…”#
Why: The file named is not in the repository, or is written from the wrong starting point.
Fix: Name the file whose routes make the site's pages, counted from the top of the repository.
PageSoar says: “…home page was not found among…”#
Why: The repository was reached, but none of that file's routes is your site's home page.
Fix: Name the file that serves the page your site's address opens.