1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-10-26 09:39:01 +01:00
No description
Find a file
2016-02-22 16:38:31 +01:00
DataSource Fixing some doxygen comments errors 2016-01-28 17:24:16 +01:00
doc/img Documentation update (again) 2016-01-28 11:47:11 +01:00
EditorialModel Cleanings doxygen comments 2016-01-29 09:55:56 +01:00
install Updated netipy client to disables console logging + add a security logging instruction to dummy_auth plugin 2016-02-22 14:40:41 +01:00
leapi Added a logger to Lodel2 2016-02-22 13:56:09 +01:00
Lodel Small bugfixes in Lodel/user.py & "acl" plugin 2016-02-22 16:38:31 +01:00
plugins Small bugfixes in Lodel/user.py & "acl" plugin 2016-02-22 16:38:31 +01:00
Router Flask is implemented with a Router module to parse and deal with url elements and params 2016-01-21 11:18:29 +01:00
Template [#101] Changed the import method for the exceptions 2016-01-13 18:09:07 +01:00
templates [#101] A template folder is available in Lodel2's root, containing the common templates for all the websites 2016-01-14 09:25:59 +01:00
.gitignore Updated the doxygen documentation 2016-01-27 16:58:55 +01:00
Doxyfile Documentation update (again) 2016-01-28 11:47:11 +01:00
lint Add a lint script used to test pep8 and lint error 2015-09-24 15:38:44 +02:00
lodel.py Changed the sample display of request parameters in the index routing method 2016-01-21 11:49:36 +01:00
lodel_init.sh Comments update for doxygen doc 2016-01-08 13:52:37 +01:00
Makefile Updated the makefile (less verbose) 2016-01-29 10:04:26 +01:00
README.md Update README and mh comments 2016-01-08 10:04:58 +01:00
refreshdyn.py Comments update for doxygen doc 2016-01-08 13:52:37 +01:00
requirements.txt Added Flask to the requirements 2016-01-21 10:37:40 +01:00
runtest Added modify_rank test, done some refactoring and updated runtest utils script 2015-06-12 16:47:38 +02:00
settings.py Add utility functions to Lodel.logger and updated settings 2016-02-22 14:39:50 +01:00

  • use python 3.4

** install dependencies pip install -r requirements.txt


Creating a Lodel "instance":

use the lodel_init.sh script : lodel_init.sh INSTANCE_NAME INSTANCE_WANTED_PATH [LODEL2_LIB_PATH] cd INSTANCE_PATH

Create a database for your instance mysql

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

Edit instance_settings.py according to your database, install database and dynamic code make

Once the instance is created you can run an interactive python interpreter using : python loader.py

If you want to write a script that run is the instance env you have to use from loader import *


** Doxygen generation Dependencies : doxygen graphviz doxypy Generation : run make doc in the root folder

** create local config in settings.py Copy settings.py.example to settings.py, change the conf to your local settings

** Tools

A Makefile is written with common operations :

  • make clean : cleans doc and python pycache (and .pyc files)
  • make pip : upgrade python libs according to requirements.txt
  • make doc : generate the doxygen documentation
  • make check : run the unit tests
  • make : run check doc and pip