Notes tagged with "Pelican"

Manage Static Sites

  1. On the server run:

    ... python3.6 nginx_site.py create my.sitename.com
    
  2. Change the access for the root of the site folder so we can easily push changes:

    ... sudo chown user:user /var/www/com_sitename_my
    
  3. Now we can push the static files generated by Pelican to the server:

    # the manual way
    ...  scp -r output/* mark.staticsites:/var/www/thebitsilo_com_notes
    
    # or via pelican
    ... inv publish