Roland Haroutiounian 33a7b6c4a4 PEP8/Pylint on types.py | 9 年之前 | |
---|---|---|
Database | 9 年之前 | |
EditorialModel | 9 年之前 | |
Lodel | 9 年之前 | |
LodelTestInstance | 9 年之前 | |
.gitignore | 9 年之前 | |
Doxyfile | 9 年之前 | |
README.md | 9 年之前 | |
lint | 9 年之前 | |
makemigrations_interactive_rename.patch | 9 年之前 | |
manage.py | 9 年之前 | |
requirements.txt | 9 年之前 | |
runtest | 9 年之前 |
First test installation :
** 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 ONlodel2
.* TO “lodel”@“localhost”;
** Apply patch(es) for django …
** 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