Skip to main content

Deploying a nikola site to FTP

If you want to generate a static website using the Nikola but need to deploy to a hoster who only provides FTP you can use ncftp to automate the process.

  • Install ncftp. On Debian-based distributions apt install ncftp should work
  • Save you server credentials to a bookmark so they do no appear in your nikola config

    • Log in to the FTP server: ncftp -u <username> ftp.ftp_server.com
    • Create a bookmark: bookmark <bookmark name>
    • Confirm whether you want to save your password or not
    • Quit
  • Add a deploy configuration to you conf.py:

DEPLOY_COMMANDS = {
    'ftp': [
        "ncftpput -R <bookmark name> / output/*",
    ]
}
  • Run nikola deploy ftp

Bootloader fix for Makerdiary nRF52840 MDK USB dongle

Let's try this again

I will try to upload posts to this blog regularly. Let's see how that works out.