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

installation notes

This commit is contained in:
Philip Sargent 2020-04-26 00:49:29 +01:00
parent 0b85a9d330
commit 2b39dec560
3 changed files with 39 additions and 1840 deletions

15
.gitignore vendored
View File

@ -16,3 +16,18 @@ media/images/*
imagekit-off/
localsettings-expo-live.py
.gitignore
desktop.ini
troggle-reset.log
troggle-reset0.log
troggle-surveys.log
troggle.log
troggle.sqlite
troggle.sqlite.0
troggle.sqlite.1
my_project.dot
memdump.sql
troggle-sqlite.sql
import_profile.json
import_times.json
ignored-files.log
tunnel-import.log

View File

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

File diff suppressed because it is too large Load Diff