1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-21 13:19:16 +01:00
No description
Find a file
2015-11-05 11:05:33 +01:00
DataSource [#76] The settings will be taken in a non versionned settings file 2015-11-05 10:10:32 +01:00
EditorialModel [#63] PEP8/Pylint 2015-11-04 15:57:21 +01:00
leobject Implements _LeObject.link_remove() and LeType.unlink_subordinate() 2015-11-05 11:05:33 +01:00
Lodel Bugfixes in lefactory and letype 2015-10-23 15:52:35 +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
README.md README : install documentation for test 2015-09-24 16:11:04 +02:00
requirements.txt Change the MySQL connector and updates the requirements.txt 2015-10-29 16:02:29 +01: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