1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-10-21 16:49:02 +02:00
No description
Find a file
2015-09-25 16:56:56 +02:00
Database [doxygen] Réécriture de la doc sur des méthodes de sqlsetup.py 2015-07-10 09:06:51 +02:00
EditorialModel Updates on Model tests 2015-09-25 16:56:56 +02:00
Lodel Addapt graphviz backend and random EM generator to changes on master branch 2015-09-24 14:36:19 +02:00
LodelTestInstance Solved some bugs about conditionnal models instanciation in LodelTestInstance.models 2015-09-16 11:03:45 +02:00
.gitignore New version (again) of the fieldtypes 2015-09-17 15:10:22 +02:00
Doxyfile Adding graph generation to Doxyfile 2015-07-01 13:57:09 +02:00
lint Add a lint script used to test pep8 and lint error 2015-09-24 15:38:44 +02:00
makemigrations_interactive_rename.patch Added a dryrun option to the migration handler and solved a bug in the django patch file 2015-09-16 14:44:43 +02:00
manage.py Ajout du projet Lodel 2015-05-22 12:22:16 +02:00
README.md README : install documentation for test 2015-09-24 16:11:04 +02:00
requirements.txt First version of the DjangoMigrationHandler. Created a LodelTestInstance for tests purpose 2015-09-11 14:52:56 +02:00
runtest Added modify_rank test, done some refactoring and updated runtest utils script 2015-06-12 16:47:38 +02:00

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