Нема описа
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.
Roland Haroutiounian 8058785023 PEP8/Pylint on components.py пре 9 година
Database [doxygen] Réécriture de la doc sur des méthodes de sqlsetup.py пре 9 година
EditorialModel PEP8/Pylint on components.py пре 9 година
Lodel Addapt graphviz backend and random EM generator to changes on master branch пре 9 година
LodelTestInstance Solved some bugs about conditionnal models instanciation in LodelTestInstance.models пре 9 година
.gitignore New version (again) of the fieldtypes пре 9 година
Doxyfile Adding graph generation to Doxyfile пре 9 година
README.md README : install documentation for test пре 9 година
lint Add a lint script used to test pep8 and lint error пре 9 година
makemigrations_interactive_rename.patch Added a dryrun option to the migration handler and solved a bug in the django patch file пре 9 година
manage.py Ajout du projet Lodel пре 9 година
requirements.txt First version of the DjangoMigrationHandler. Created a LodelTestInstance for tests purpose пре 9 година
runtest Added modify_rank test, done some refactoring and updated runtest utils script пре 9 година

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