Nikola 8.0.0 Linux pip shell script

Messed up my virtual environment for Nikola Static blog generator. I decided to create a small script to automate some of the process.

     python -m venv nikola
     cd nikola
     . bin/activate
     pip install --upgrade pip setuptools wheel
     pip install Nikola==8.0.0
     pip install --upgrade "Nikola[extras]"

Also, the doit process that Nikola uses keep tracks using gdbm. Gdbm does not work well with Microsofts one drive. I changed the dependency file DB backend of gdbm to sqlite3 in the file: nikola/lib/python3.7/site-packages/doit/


--- nikola/lib/python3.7/site-packages/doit/ 2018-09-08 12:00:32.217679190 -0700
+++ 2018-09-08 12:00:01.618008492 -0700
@@ -164,7 +164,7 @@
         'long': 'backend',
         'type': str,
-    'default': "sqlite3",
+    'default': "dbm",
         'help': ("Select dependency file backend. [default: %(default)s]")


Comments powered by Disqus