No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yann Weber 10379c6a95 Fieldgroups are deleted 9 years ago
EditorialModel Fieldgroups are deleted 9 years ago
Lodel Bugfixes in lefactory and letype 9 years ago
leobject Fieldgroups are deleted 9 years ago
.gitignore New version (again) of the fieldtypes 9 years ago
Doxyfile Adding graph generation to Doxyfile 9 years ago
README.md README : install documentation for test 9 years ago
lint Add a lint script used to test pep8 and lint error 9 years ago
makemigrations_interactive_rename.patch Added a dryrun option to the migration handler and solved a bug in the django patch file 9 years ago
requirements.txt Change the MySQL connector and updates the requirements.txt 9 years ago
runtest Added modify_rank test, done some refactoring and updated runtest utils script 9 years ago

README.md

First test installation :

  • use python 3.4

** install dependencies pip install -r requirements.txt

** create local config in Lodel/settings/locale.py DATABASES = {

'default': {
    'ENGINE': 'django.db.backends.mysql',
    'NAME': 'lodel2',
    'USER': 'lodel',
    'PASSWORD': 'lodel',
    'HOST': 'localhost',
}

}

** create DATABASES mysql

CREATE DATABASE lodel2 CHARACTER SET utf8 COLLATE utf8_general_ci; GRANT ALL ON lodel2.* TO “lodel”@“localhost”;

** Apply patch(es) for django …

  • makemigrations_interactive_rename.patch => fix makemigrations interactive parameter cd path/to/django/ patch -p2 < /path/to/lodel2/makemigrations_interactive_rename.patch

** create tables for django

if not clean : mysql

DROP DATABASE lodel2; recreate database rm -rf LodelTestInstance/migrations/

./manage.py makemigrations --empty LodelTestInstance ./manage.py migrate