2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 14:51:51 +00:00

removing imagekit

This commit is contained in:
Philip Sargent 2020-05-22 01:28:45 +01:00
parent 15d0d05185
commit a3e564855a
3 changed files with 20 additions and 3 deletions

View File

@ -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

7
requirements.txt Normal file
View File

@ -0,0 +1,7 @@
Django==1.7.11
django-registration==2.1.2
mysql
Image
django-tinymce==2.7.0
smartencoding
unidecode

View File

@ -130,7 +130,7 @@ INSTALLED_APPS = (
'troggle.profiles',
'troggle.core',
'troggle.flatpages',
'troggle.imagekit',
#'troggle.imagekit',
)
MIDDLEWARE_CLASSES = (