summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sargent <philip@Muscogee.localdomain>2020-05-22 01:28:45 +0100
committerPhilip Sargent <philip@Muscogee.localdomain>2020-05-22 01:28:45 +0100
commita3e564855a2bff2ba84899e42920acf0f12de691 (patch)
tree8cd441923ff43c430a4ccff0b8f0c498ec909960
parent15d0d05185bccef50e3b29c3636c34150b3b7ddc (diff)
downloadtroggle-a3e564855a2bff2ba84899e42920acf0f12de691.tar.gz
troggle-a3e564855a2bff2ba84899e42920acf0f12de691.tar.bz2
troggle-a3e564855a2bff2ba84899e42920acf0f12de691.zip
removing imagekit
-rw-r--r--README.txt14
-rw-r--r--requirements.txt7
-rw-r--r--settings.py2
3 files changed, 20 insertions, 3 deletions
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 = (