From 2b39dec560b8029e3d0ef6f1fae2b1ecfc759f97 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 26 Apr 2020 00:49:29 +0100 Subject: installation notes --- README.txt | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) (limited to 'README.txt') diff --git a/README.txt b/README.txt index 978f6a1..e666ebd 100644 --- a/README.txt +++ b/README.txt @@ -13,16 +13,36 @@ Install Django with the following command: sudo apt install python-django (on debian/ubuntu) -- does not work now as we need specific version +requirements.txt: +Django==1.7.11 +django-registration==2.1.2 +mysql +#imagekit +django-imagekit +Image +django-tinymce==2.7.0 +smartencoding +unidecode + Install like this: -sudo apt install pip +sudo apt install pip # does not work on WSL1 Ubuntu 20.04. Have to install from source pip install django==1.7 -pip install django-tinymce=2.0.1 +pip install django-tinymce==2.0.1 sudo apt install libfreetype6-dev -pip install --no-cache-dir pillow==2.7.0 pip install django-registration==2.0 pip install unidecode - -If you want to use MySQL or Postgresql, download and install them. However, you can also use Django with Sqlite3, which is included in Python and thus requires no extra installation. +pip install --no-cache-dir pillow==2.7.0 # fails horribly on installing Ubuntu20.04 +pip install --no-cache-dir pillow # installs on Ubuntu20.04 , don't know if it works though + +If you want to use MySQL or Postgresql, download and install them. +However, you can also use Django with Sqlite3, which is included in Python and thus requires no extra installation. +pip install pygraphviz +apt install survex + +pip install django-extensions +pip install pygraphviz # fails to install +pip install pyparsing pydot # installs fine +django extension graph_models # https://django-extensions.readthedocs.io/en/latest/graph_models.html -- cgit v1.2.3