diff --git a/README.txt b/README.txt index 2680c22..677781c 100644 --- a/README.txt +++ b/README.txt @@ -18,14 +18,14 @@ Django==1.7.11 django-registration==2.1.2 mysql #imagekit -django-imagekit +#django-imagekit Image django-tinymce==2.7.0 smartencoding unidecode Install like this: -sudo apt install pip # does not work on Ubuntu 20.04. Have to install from source. Use 18.04 +sudo apt install pip # does not work on Ubuntu 20.04 for python 2.7. Have to install from source. Use 18.04 pip install django==1.7 pip install django-tinymce==2.0.1 sudo apt install libfreetype6-dev @@ -44,6 +44,16 @@ 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 +Or use a python3 virtual environment: +$ cd troggle +$ cd .. +$ python3 -m venv pyth3d2 +(creates folder with virtual env) +cd pyth3d2 +bin/activate +(now install everything - not working yet..) +$ pip install -r requirements.txt + MariaDB database ---------------- Start it up with diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..8a217ba --- /dev/null +++ b/requirements.txt @@ -0,0 +1,7 @@ +Django==1.7.11 +django-registration==2.1.2 +mysql +Image +django-tinymce==2.7.0 +smartencoding +unidecode \ No newline at end of file diff --git a/settings.py b/settings.py index d3de6e9..9a97387 100644 --- a/settings.py +++ b/settings.py @@ -130,7 +130,7 @@ INSTALLED_APPS = ( 'troggle.profiles', 'troggle.core', 'troggle.flatpages', - 'troggle.imagekit', + #'troggle.imagekit', ) MIDDLEWARE_CLASSES = (