Notes tagged with "Static"
Manage Static Sites
-
On the server run:
... python3.6 nginx_site.py create my.sitename.com -
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 -
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