Hosting comic_git Elsewhere

Hosting comic_git Outside of GitHub Pages

It is possible, and in fact quite easy, to use comic_git outside of GitHub. You may prefer this if you have your own hosting you're already paying for, or if you've exceeded GitHub Pages' usage limits.

Moving GitHub Pages to another website is as simple as running the website building script locally on your own PC and then uploading those files to your web host via whatever method they prefer. The most common method will be SFTP, which your web host's documentation will hopefully help you get set up.

The recommended steps for building and deploying comic_git to another web service are as follows. This process will not upload any content for unpublished comic pages, while also not losing any of your work on your local machine.

  1. Commit any changes you want to keep.

  2. From the base repo directory, run python comic_git_engine\scripts\build_site.py --delete-scheduled-posts.

  3. Upload your entire repo directory to your web server.

  4. Discard all uncommitted changes with git checkout -f. (i.e., delete autogenerated files and undelete scheduled post content)

After comic_git's scripts are run, your website is nothing more than HTML, CSS, and a little Javascript, so any basic web server will be able to host it.

Last updated