A website for https://www.psycopg.org
In order to change the website:
- clone the repository
- run
make setupto create the virtualenv - run
make serveto serve the website on http://localhost:5000/ - hack on the website (pages are in the content directory)
- commit and push
GitHub Actions will
the website and push it to the github pages repos,
served as https://www.psycopg.org/.
This allows to reach the development server from another computer or a phone connected in the same local network.
Like the above but run make SERVE_HOST=0.0.0.0 serve. Check the message of
the running server to find the address to reach from the remote host.
Run the following:
export CLOUDFLARE_ACCOUNT="282..." export CLOUDFLARE_API_TOKEN="cfat_twKk..." ./tools/upload-preview
The preview of the website should be published on https://new-homepage.psycopg-org-website.pages.dev